From: Tilghman Lesher Date: Tue, 17 Feb 2009 21:21:41 +0000 (+0000) Subject: Backport change to 1.4: X-Git-Tag: 1.4.24-rc1~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7799945eb9c67d5ff8a53982c801f3d533457320;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_local.c b/channels/chan_local.c index 9f3dd1d77c..a400a6363e 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -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); }