提交 7a7f3868 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3337 --resolve indeed, should be ok

上级 b30ee920
...@@ -1498,6 +1498,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v ...@@ -1498,6 +1498,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
if (!switch_test_flag(imember, MFLAG_NOCHANNEL)) { if (!switch_test_flag(imember, MFLAG_NOCHANNEL)) {
channel = switch_core_session_get_channel(imember->session); channel = switch_core_session_get_channel(imember->session);
if (!switch_false(switch_channel_get_variable(channel, "hangup_after_conference"))) {
/* add this little bit to preserve the bridge cause code in case of an early media call that */ /* add this little bit to preserve the bridge cause code in case of an early media call that */
/* never answers */ /* never answers */
if (switch_test_flag(conference, CFLAG_ANSWERED)) { if (switch_test_flag(conference, CFLAG_ANSWERED)) {
...@@ -1507,6 +1508,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v ...@@ -1507,6 +1508,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
switch_channel_hangup(channel, conference->bridge_hangup_cause); switch_channel_hangup(channel, conference->bridge_hangup_cause);
} }
} }
}
switch_clear_flag_locked(imember, MFLAG_RUNNING); switch_clear_flag_locked(imember, MFLAG_RUNNING);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论