From: Anthony Minessale Date: Thu, 23 Feb 2012 03:48:03 +0000 (-0600) Subject: FS-3932 --resolve the change in switch_ivr_bridge was your issue X-Git-Tag: v1.2-rc1~19^2^2~68^2~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b0af627e684dead40577a17225c28be227afa3;p=thirdparty%2Ffreeswitch.git FS-3932 --resolve the change in switch_ivr_bridge was your issue --- diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index 8067e98675..246295f0fe 100755 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -2902,6 +2902,12 @@ SWITCH_STANDARD_APP(audio_bridge_function) v_campon_fallback_exten, switch_channel_get_variable(caller_channel, "campon_fallback_dialplan"), 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; } diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index 3096f9cf92..266fa8d187 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -1244,6 +1244,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses if (!switch_channel_ready(caller_channel)) { abort_call(caller_channel, peer_channel); + switch_core_session_rwunlock(peer_session); goto done; }