From: Anthony Minessale Date: Tue, 26 Mar 2013 21:37:47 +0000 (-0500) Subject: change ready to up in this case X-Git-Tag: v1.3.17-final~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231a9c7e8f9c8a2b0b64e0a2da2a66331677622e;p=thirdparty%2Ffreeswitch.git change ready to up in this case --- diff --git a/src/switch_ivr_bridge.c b/src/switch_ivr_bridge.c index f4bf8ec656..7a20f87b5c 100644 --- a/src/switch_ivr_bridge.c +++ b/src/switch_ivr_bridge.c @@ -253,7 +253,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj) switch_codec_implementation_t read_impl = { 0 }; switch_core_session_get_read_impl(session_a, &read_impl); - if (!switch_channel_media_ready(chan_a)) { + if (!switch_channel_media_up(chan_a)) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session_a), SWITCH_LOG_ERROR, "Channel has no media!\n"); goto end_of_bridge_loop; }