[Freeswitch-svn] [commit] r6176 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Wed Nov 7 13:50:34 EST 2007


Author: anthm
Date: Wed Nov  7 13:50:34 2007
New Revision: 6176

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
fix MDXMLINT-16

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Nov  7 13:50:34 2007
@@ -166,15 +166,11 @@
 	}
 
 	if (!(tts_engine = (char *) switch_xml_attr(language, "tts-engine"))) {
-		if (!(tts_engine = (char *) switch_xml_attr(language, "tts_engine"))) {
-			tts_engine = switch_channel_get_variable(channel, tts_engine);
-		}
+		tts_engine = (char *) switch_xml_attr(language, "tts_engine");
 	}
 	
 	if (!(tts_voice = (char *) switch_xml_attr(language, "tts-voice"))) {
-		if (!(tts_voice = (char *) switch_xml_attr(language, "tts_voice"))) {
-			tts_voice = switch_channel_get_variable(channel, tts_voice);
-		}
+		tts_voice = (char *) switch_xml_attr(language, "tts_voice");
 	}
 
 	if (sound_path) {



More information about the Freeswitch-svn mailing list