From: Seven Du Date: Sun, 24 Dec 2017 02:23:13 +0000 (+0800) Subject: FS-10859 #resolve X-Git-Tag: v1.8.1~3^2~256 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91f781d811b0cd27d937809bd424a9c33d7c07c3;p=thirdparty%2Ffreeswitch.git FS-10859 #resolve --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 6a9298d2d4..b16dbaf388 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -3005,7 +3005,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text(switch_core_session_t *ses if (need_create) { memset(sh, 0, sizeof(*sh)); if ((status = switch_core_speech_open(sh, tts_name, voice_name, (uint32_t) rate, interval, read_impl.number_of_channels, &flags, NULL)) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid TTS module!\n"); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid TTS module %s[%s]!\n", tts_name, voice_name); switch_core_session_reset(session, SWITCH_TRUE, SWITCH_TRUE); switch_ivr_clear_speech_cache(session); arg_recursion_check_stop(args);