When taking a masqed call, be sure to mark it as acknowledged
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1481 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
639e40c4ac
commit
e2ab0fa5f4
|
@ -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
|
||||
|
|
Reference in New Issue