From 231a9c7e8f9c8a2b0b64e0a2da2a66331677622e Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 26 Mar 2013 16:37:47 -0500 Subject: [PATCH] change ready to up in this case --- src/switch_ivr_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }