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
This commit is contained in:
Mark Spencer
2003-09-06 20:13:09 +00:00
parent 7b8a61c9a7
commit ebae0a11be

View File

@@ -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