提交 29b0af62 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3932 --resolve the change in switch_ivr_bridge was your issue

上级 50727f56
...@@ -2902,6 +2902,12 @@ SWITCH_STANDARD_APP(audio_bridge_function) ...@@ -2902,6 +2902,12 @@ SWITCH_STANDARD_APP(audio_bridge_function)
v_campon_fallback_exten, v_campon_fallback_exten,
switch_channel_get_variable(caller_channel, "campon_fallback_dialplan"), switch_channel_get_variable(caller_channel, "campon_fallback_dialplan"),
switch_channel_get_variable(caller_channel, "campon_fallback_context")); switch_channel_get_variable(caller_channel, "campon_fallback_context"));
if (peer_session) {
switch_channel_hangup(switch_core_session_get_channel(peer_session), SWITCH_CAUSE_ORIGINATOR_CANCEL);
switch_core_session_rwunlock(peer_session);
}
return; return;
} }
......
...@@ -1244,6 +1244,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses ...@@ -1244,6 +1244,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
if (!switch_channel_ready(caller_channel)) { if (!switch_channel_ready(caller_channel)) {
abort_call(caller_channel, peer_channel); abort_call(caller_channel, peer_channel);
switch_core_session_rwunlock(peer_session);
goto done; goto done;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论