From: Anthony Minessale Date: Thu, 31 Jul 2014 18:20:04 +0000 (+0500) Subject: only set the not_ready flag on one side on video unbridge X-Git-Tag: v1.4.8~7^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae32aafb0b4dfefe068836c9f8ac364820d34c75;p=thirdparty%2Ffreeswitch.git only set the not_ready flag on one side on video unbridge --- diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index 5d3060c797..9c238ff16a 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -593,7 +593,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) if (vid_thread) { vh.up = -1; switch_channel_set_flag(chan_a, CF_NOT_READY); - switch_channel_set_flag(chan_b, CF_NOT_READY); + //switch_channel_set_flag(chan_b, CF_NOT_READY); switch_core_session_kill_channel(session_a, SWITCH_SIG_BREAK); switch_core_session_kill_channel(session_b, SWITCH_SIG_BREAK); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session_a), SWITCH_LOG_DEBUG, "Ending video thread.\n");