mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Backport change to 1.4:
Prior to masquerade, move the group definitions to the channel performing the masq, so that the group count lingers past the bridge. (closes issue #14275) Reported by: kowalma Patches: 20090216__bug14275.diff.txt uploaded by Corydon76 (license 14) Tested by: kowalma git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@176661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -270,6 +270,7 @@ static void check_bridge(struct local_pvt *p, int isoutbound)
|
||||
p->chan->audiohooks = p->owner->audiohooks;
|
||||
p->owner->audiohooks = audiohooks_swapper;
|
||||
}
|
||||
ast_app_group_update(p->chan, p->owner);
|
||||
ast_channel_masquerade(p->owner, p->chan->_bridge);
|
||||
ast_set_flag(p, LOCAL_ALREADY_MASQED);
|
||||
}
|
||||
|
Reference in New Issue
Block a user