From: Christopher Rienzo Date: Fri, 4 Feb 2011 20:18:33 +0000 (+0000) Subject: forgot this spot when closing speech channel X-Git-Tag: v1.2-rc1~187^2~13^2~3^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20976da4114c2c5fc0213fa4cda91f7f4bf8a136;p=thirdparty%2Ffreeswitch.git 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 812744c2ec..734ef21e29 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: