git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5400
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
-- chan_mgcp
-- Fixed setting of accountcode
-- Fixed where *67 to block callerid only worked for first call
+ -- chan_agent
+ -- We now will not pass audio until the agent has acked the call if the configuration
+ is set up for the agent to do so.
-- res_agi
-- A fix has been added to prevent calls from being hung up when more than one
call is executing an AGI script calling the GET DATA command.
ast_frfree(f);
f = NULL;
}
+ if (f && (f->frametype == AST_FRAME_VOICE) && !p->acknowledged) {
+ /* Don't pass along agent audio until call is acknowledged */
+ ast_frfree(f);
+ f = &null_frame;
+ }
CLEANUP(ast,p);
ast_mutex_unlock(&p->lock);
if (recordagentcalls && f == &answer_frame)