Merged revisions 161948 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 9 Dec 2008 14:57:39 +0000 (14:57 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 9 Dec 2008 14:57:39 +0000 (14:57 +0000)
commitda0737c00c850efb7a87e227fdebd9cf52e24540
treeb60ec628e0e90a21df375ad588a88c10916f96c8
parentec28f57c419f382c301ed7ef060d89c4172c36fa
Merged revisions 161948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r161948 | russell | 2008-12-09 08:52:25 -0600 (Tue, 09 Dec 2008) | 15 lines

Fix a problem with GROUP() settings on a masquerade.

The previous code carried over group settings from the old channel to the new
one.  However, it did nothing with the group settings that were already on the
new channel.  This patch removes all group settings that already existed on the
new channel.

I have a more complicated version of this patch which addresses only the most
blatant problem with this, which is that a channel can end up with multiple
group settings in the same category.  However, I could not think of a use case
for keeping any of the group settings from the old channel, so I went this route
for now.

(closes AST-152)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/app.c