forked from Mirrors/freeswitch
prevent intercept race condition that can also be solved with continue_on_fail=originator_cancel
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8698 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
9fbfa75d9f
commit
d972921a27
@ -1797,7 +1797,7 @@ SWITCH_STANDARD_APP(audio_bridge_function)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Originate Failed. Cause: %s\n", switch_channel_cause2str(cause));
|
||||
|
||||
/* no answer is *always* a reason to continue */
|
||||
if (cause == SWITCH_CAUSE_NO_ANSWER || cause == SWITCH_CAUSE_NO_USER_RESPONSE) {
|
||||
if (cause == SWITCH_CAUSE_NO_ANSWER || cause == SWITCH_CAUSE_NO_USER_RESPONSE || cause == SWITCH_CAUSE_ORIGINATOR_CANCEL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user