diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-07 21:39:52 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-07 21:39:52 +0000 |
commit | 0870f9f84a98a3f9f1c6a848e4472be77efa6497 (patch) | |
tree | 68d77327e950e350142689577dc192bf9d59993e /channel.c | |
parent | 3c4a8564079c294e0fb47d8387ed95844e5d4770 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |