mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix monitoring when channel redirected (bug #3809, patch redone)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2652,6 +2652,9 @@ int ast_do_masquerade(struct ast_channel *original)
|
||||
|
||||
/* Update the type. */
|
||||
original->type = clone->type;
|
||||
t_pvt = original->monitor;
|
||||
original->monitor = clone->monitor;
|
||||
clone->monitor = t_pvt;
|
||||
|
||||
/* Keep the same language. */
|
||||
ast_copy_string(original->language, clone->language, sizeof(original->language));
|
||||
|
Reference in New Issue
Block a user