dect
/
asterisk
Archived
13
0
Fork 0

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:
markster 2003-09-06 20:13:09 +00:00
parent 639e40c4ac
commit e2ab0fa5f4
1 changed files with 1 additions and 0 deletions

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