aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 21:39:52 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 21:39:52 +0000
commit0870f9f84a98a3f9f1c6a848e4472be77efa6497 (patch)
tree68d77327e950e350142689577dc192bf9d59993e /channel.c
parent3c4a8564079c294e0fb47d8387ed95844e5d4770 (diff)
Properly handle what happens during a masquerade in relation to group counting. (issue #9657 reported by ramonpeek)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@63285 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 55276c9ec..4c71ce3f6 100644
--- a/channel.c
+++ b/channel.c
@@ -3106,7 +3106,7 @@ int ast_do_masquerade(struct ast_channel *original)
original->fds[x] = clone->fds[x];
}
/* Drop group from original */
- ast_app_group_discard(original);
+ ast_app_group_update(clone, original);
clone_variables(original, clone);
AST_LIST_HEAD_INIT_NOLOCK(&clone->varshead);
/* Presense of ADSI capable CPE follows clone */