]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Backport change to 1.4:
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 17 Feb 2009 21:21:41 +0000 (21:21 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 17 Feb 2009 21:21:41 +0000 (21:21 +0000)
  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

channels/chan_local.c

index 9f3dd1d77cfcf884563f3aaf1cda32a9c0773208..a400a6363ec8fcf1398b5a2af0e6d96ec959a92f 100644 (file)
@@ -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);
                                        }