From 8037b69f40413784631c59942b5d4fc856cff845 Mon Sep 17 00:00:00 2001 From: Christopher Rienzo Date: Wed, 9 Feb 2011 16:53:32 +0000 Subject: [PATCH] FS-3043 break during mod_unimrcp can hang session --- src/mod/asr_tts/mod_unimrcp/mod_unimrcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: