提交 a89f5443 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix MDXMLINT-16

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6176 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ef4f9ee5
......@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论