confirm_transfer tweak

This commit is contained in:
Anthony Minessale 2012-05-09 08:39:23 -05:00
parent 849dd7376f
commit 2a4eb84e4d
1 changed files with 2 additions and 1 deletions

View File

@ -3058,7 +3058,8 @@ SWITCH_STANDARD_APP(audio_bridge_function)
}
}
}
if (!switch_channel_test_flag(caller_channel, CF_TRANSFER) && switch_channel_get_state(caller_channel) != CS_ROUTING) {
if (!switch_channel_test_flag(caller_channel, CF_TRANSFER) && !switch_channel_test_flag(caller_channel, CF_CONFIRM_BLIND_TRANSFER) &&
switch_channel_get_state(caller_channel) != CS_ROUTING) {
switch_channel_hangup(caller_channel, cause);
}
return;