]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix MDXMLINT-16
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Nov 2007 18:50:34 +0000 (18:50 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 7 Nov 2007 18:50:34 +0000 (18:50 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6176 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index 6f1960e05d32044c762a4ba2a1de1ab01bbe84ab..20a3761d5a8a2d1736171adc7442f5f77f4d5f7d 100644 (file)
@@ -166,15 +166,11 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
        }
 
        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) {