From 749cf1cdf3d288e527fd65456af28f70a919a54f Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Tue, 22 Dec 2015 16:04:04 -0500 Subject: [PATCH] FS-8676 [mod_unimrcp] fix crash when an invalid voice-gender TTS param is attempted to be set --- src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c index ea563869fb..c1e89be89f 100644 --- a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c +++ b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c @@ -1237,7 +1237,7 @@ static switch_status_t synth_channel_set_header(speech_channel_t *schannel, int } else if (!strcasecmp("neutral", val)) { synth_hdr->voice_param.gender = VOICE_GENDER_NEUTRAL; } else { - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(schannel->session_uuid), SWITCH_LOG_WARNING, "(%s) ignoring invalid voice gender, %s\n", schannel->name, val); + switch_log_printf(SWITCH_CHANNEL_UUID_LOG(schannel->session_uuid), SWITCH_LOG_WARNING, "(%s) ignoring invalid voice gender, %s\n", schannel->name, val); break; } mrcp_resource_header_property_add(msg, SYNTHESIZER_HEADER_VOICE_GENDER);