via: 20976da4114c2c5fc0213fa4cda91f7f4bf8a136 (commit)
from: e37dd41e311986015393befed7160e27a6450933 (commit)
= COMMIT LOG ===========================================================
committer: Christopher Rienzo
comments:
forgot this spot when closing speech channel
diff --git a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c
index 812744c..734ef21 100644
--- a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c
+++ b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c
@@ -1362,6 +1362,8 @@ static switch_status_t speech_channel_stop(speech_channel_t *schannel)
goto done;
}
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "(%s) %s stopped\n", schannel->name, speech_channel_type_to_string(schannel->type));
+ } else if (schannel->state == SPEECH_CHANNEL_DONE) {
+ speech_channel_set_state(schannel, SPEECH_CHANNEL_READY);
}
done:
Summary of changes: src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source