Skip to content
Snippets Groups Projects
Commit f49ff59c authored by Mark Spencer's avatar Mark Spencer
Browse files

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
parent a5f0c99b
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment