From: Brian West Date: Mon, 22 Jun 2009 18:42:16 +0000 (+0000) Subject: mod_shout: bring media back so telecast of a no-media call will work. (MODFORM-28) X-Git-Tag: v1.0.4~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c1dc415fb136bbc349da18a74a39e9785fdb6f;p=thirdparty%2Ffreeswitch.git mod_shout: bring media back so telecast of a no-media call will work. (MODFORM-28) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13895 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index 2eaef91029..f0ffe1633e 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -1252,7 +1252,10 @@ void do_telecast(switch_stream_handle_t *stream) switch_codec_implementation_t read_impl = {0}; switch_core_session_get_read_impl(tsession, &read_impl); - + if (switch_channel_test_flag(channel, CF_PROXY_MODE)) { + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Stepping into media path so this will work!\n"); + switch_ivr_media(uuid, SMF_REBRIDGE); + } if (!(gfp = lame_init())) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not allocate lame\n");