don't hangup on a caller that was transfered out of queue

This commit is contained in:
Michael Jerris 2010-07-07 19:57:32 -04:00
parent 821488bf9f
commit 99c98d970b
1 changed files with 1 additions and 1 deletions

View File

@ -1204,7 +1204,7 @@ static void check_ocancel(switch_core_session_t *session)
channel = switch_core_session_get_channel(session);
if ((var = switch_channel_get_variable(channel, "fifo_originate_uuid"))) {
if (!switch_channel_test_flag(channel, CF_TRANSFER) && (var = switch_channel_get_variable(channel, "fifo_originate_uuid"))) {
switch_core_session_hupall_matching_var("fifo_originate_uuid", var,
switch_channel_test_flag(channel, CF_ANSWERED) ?
SWITCH_CAUSE_NORMAL_CLEARING : SWITCH_CAUSE_ORIGINATOR_CANCEL);