diff options
author | Joshua Colp <jcolp@digium.com> | 2017-05-26 16:41:59 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-05-26 16:41:59 +0000 |
commit | b07b2162359ccc9a3f84324fabce18b6ad63eee3 (patch) | |
tree | 9283cb18ef7a7608f3da5c3e5c119efb365323d9 | |
parent | d4ccd3a6c088f4d2fefda1a44e4555dd54335cda (diff) |
manager: Clear the flag on the other channel.
During the channel flag audit an incorrect change was
done. The flag should be cleared on the second channel.
ASTERISK-26469
Change-Id: I770c5a389550a2fb5a6ade942fccbb2e1d9199c8
-rw-r--r-- | main/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c index 6db52b8b4..2f16f0470 100644 --- a/main/manager.c +++ b/main/manager.c @@ -4822,7 +4822,7 @@ static int action_redirect(struct mansession *s, const struct message *m) ast_channel_clear_flag(chan, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT); } if (chan2_wait) { - ast_channel_clear_flag(chan, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT); + ast_channel_clear_flag(chan2, AST_FLAG_BRIDGE_DUAL_REDIRECT_WAIT); } chan2 = ast_channel_unref(chan2); |