From: Mark Spencer Date: Sat, 6 Sep 2003 20:13:09 +0000 (+0000) Subject: When taking a masqed call, be sure to mark it as acknowledged X-Git-Tag: 0.5.0~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebae0a11be59aaca90689c591c9abd3e99b50204;p=thirdparty%2Fasterisk.git When taking a masqed call, be sure to mark it as acknowledged git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1481 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_agent.c b/channels/chan_agent.c index cbdff7a4cf..a2998e3dc3 100755 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -803,6 +803,7 @@ static int check_availability(struct agent_pvt *newlyavailable, int needlock) if (!res) { /* Note -- parent may have disappeared */ if (p->abouttograb) { + newlyavailable->acknowledged = 1; ast_setstate(parent, AST_STATE_UP); ast_setstate(chan, AST_STATE_UP); /* Go ahead and mark the channel as a zombie so that masquerade will