From da2a21f85280fca698facf80f72304a10f1f8217 Mon Sep 17 00:00:00 2001 From: Hoan HL Date: Thu, 2 May 2024 12:46:50 +0000 Subject: [PATCH] wip Signed-off-by: Hoan HL --- mod_custom_tts/mod_custom_tts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod_custom_tts/mod_custom_tts.c b/mod_custom_tts/mod_custom_tts.c index 6c6ca05..8319983 100644 --- a/mod_custom_tts/mod_custom_tts.c +++ b/mod_custom_tts/mod_custom_tts.c @@ -78,6 +78,8 @@ static switch_status_t w_speech_feed_tts(switch_speech_handle_t *sh, char *text, custom_t *c = createOrRetrievePrivateData(sh); c->draining = 0; c->reads = 0; + c->response_code = 0; + c->err_msg = NULL; switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "w_speech_feed_tts\n");