mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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
Block a user