[Freeswitch-svn] [commit] r13895 - freeswitch/trunk/src/mod/formats/mod_shout

FreeSWITCH SVN brian at freeswitch.org
Mon Jun 22 11:42:16 PDT 2009


Author: brian
Date: Mon Jun 22 13:42:16 2009
New Revision: 13895

Log:
mod_shout: bring media back so telecast of a no-media call will work. (MODFORM-28)

Modified:
   freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c

Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	Mon Jun 22 13:42:16 2009
@@ -1252,7 +1252,10 @@
 		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");



More information about the Freeswitch-svn mailing list