提交 d972921a authored 作者: Anthony Minessale's avatar Anthony Minessale

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
上级 9fbfa75d
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论