summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index c92530c34..e48042793 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -3575,7 +3575,7 @@ int ast_do_masquerade(struct ast_channel *original)
original->fds[x] = clone->fds[x];
}
- ast_app_group_discard(original);
+ ast_app_group_update(clone, original);
/* move any whisperer over */
ast_channel_whisper_stop(original);