From 0c630110166adb07077b58ed2ece196d250e099a Mon Sep 17 00:00:00 2001 From: Stephen George Date: Mon, 2 May 2016 19:00:37 -0500 Subject: [PATCH] NeoSpeech MRCPv1 compatability fix: send explicit ANNOUNCE:STOP prior to TEARDOWN of TTS --- app-unimrcp/app_mrcpsynth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-unimrcp/app_mrcpsynth.c b/app-unimrcp/app_mrcpsynth.c index be9dc13..88220ad 100644 --- a/app-unimrcp/app_mrcpsynth.c +++ b/app-unimrcp/app_mrcpsynth.c @@ -660,6 +660,8 @@ static int app_synth_exec(struct ast_channel *chan, ast_app_data data) } while (running); + speech_channel_stop(mrcpsynth_session.schannel); + return mrcpsynth_exit(chan, &mrcpsynth_session, status); }