mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Properly handle what happens during a masquerade in relation to group counting. (issue #9657 reported by ramonpeek)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@63285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user