forgot this spot when closing speech channel

This commit is contained in:
Christopher Rienzo 2011-02-04 20:18:33 +00:00
parent e37dd41e31
commit 20976da411
1 changed files with 2 additions and 0 deletions

View File

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