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
This commit is contained in:
Joshua Colp 2017-05-26 16:41:59 +00:00
parent 56b6a71548
commit 9c4f63263c
1 changed files with 1 additions and 1 deletions

View File

@ -4850,7 +4850,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);