提交 3b6d163b authored 作者: Brian West's avatar Brian West

Update from Mike Murdock, Thanks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4191 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cd0d988e
...@@ -1893,7 +1893,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses ...@@ -1893,7 +1893,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses
} }
} }
switch_ivr_speak_text_handle(session, &sh, &codec, timer_name ? &timer : NULL, text, args); status = switch_ivr_speak_text_handle(session, &sh, &codec, timer_name ? &timer : NULL, text, args);
flags = 0; flags = 0;
switch_core_speech_close(&sh, &flags); switch_core_speech_close(&sh, &flags);
switch_core_codec_destroy(&codec); switch_core_codec_destroy(&codec);
...@@ -4741,7 +4741,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s ...@@ -4741,7 +4741,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s)\n", func, odata, lang); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Handle %s:[%s] (%s)\n", func, odata, lang);
if (!strcasecmp(func, "play-file")) { if (!strcasecmp(func, "play-file")) {
switch_ivr_play_file(session, NULL, odata, args); status = switch_ivr_play_file(session, NULL, odata, args);
} else if (!strcasecmp(func, "break")) { } else if (!strcasecmp(func, "break")) {
done = 1; done = 1;
break; break;
...@@ -4778,6 +4778,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s ...@@ -4778,6 +4778,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro(switch_core_session_t *s
} }
if (status != SWITCH_STATUS_SUCCESS) { if (status != SWITCH_STATUS_SUCCESS) {
done = 1;
break; break;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论