diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-31 21:27:21 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-31 21:27:21 +0000 |
commit | cc95e732c7e1033b44cf80c056a6b54c18ad4fb8 (patch) | |
tree | 730e898eae416ad73d0b67d80771083ee9a4c816 /channel.c | |
parent | b32a4a5861f65e7e3615adc668bea48bd63b9b30 (diff) |
Fix monitoring when channel redirected (bug #3809, patch redone)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6247 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-x | channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)); |