From: Christopher Rienzo Date: Wed, 9 Feb 2011 16:53:32 +0000 (+0000) Subject: FS-3043 break during mod_unimrcp can hang session X-Git-Tag: v1.2-rc1~187^2~17^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8037b69f40413784631c59942b5d4fc856cff845;p=thirdparty%2Ffreeswitch.git FS-3043 break during mod_unimrcp can hang session --- diff --git a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c index 734ef21e29..d5bac5f7f4 100644 --- a/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c +++ b/src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c @@ -1363,7 +1363,7 @@ static switch_status_t speech_channel_stop(speech_channel_t *schannel) } 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); + speech_channel_set_state_unlocked(schannel, SPEECH_CHANNEL_READY); } done: