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

don't answer in this case

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12918 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 80698324
...@@ -324,6 +324,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) ...@@ -324,6 +324,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
if (ans_a != ans_b) { if (ans_a != ans_b) {
switch_channel_t *un = ans_a ? chan_b : chan_a; switch_channel_t *un = ans_a ? chan_b : chan_a;
if (!switch_channel_test_flag(un, CF_OUTBOUND)) {
if (switch_channel_answer(un) != SWITCH_STATUS_SUCCESS) { if (switch_channel_answer(un) != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s Media Establishment Failed.\n", switch_channel_get_name(un)); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s Media Establishment Failed.\n", switch_channel_get_name(un));
goto end_of_bridge_loop; goto end_of_bridge_loop;
...@@ -331,6 +332,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) ...@@ -331,6 +332,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
if (ans_a) ans_b = 1; else ans_a = 1; if (ans_a) ans_b = 1; else ans_a = 1;
} }
}
#ifndef SWITCH_VIDEO_IN_THREADS #ifndef SWITCH_VIDEO_IN_THREADS
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论