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); }