FS-3043 break during mod_unimrcp can hang session

This commit is contained in:
Christopher Rienzo 2011-02-09 16:53:32 +00:00
parent 67edc7c321
commit 8037b69f40
1 changed files with 1 additions and 1 deletions

View File

@ -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: