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
This commit is contained in:
Brian West 2009-06-22 18:42:16 +00:00
parent f618475c67
commit 49c1dc415f

View File

@ -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");