forgot this spot when closing speech channel
This commit is contained in:
parent
e37dd41e31
commit
20976da411
|
@ -1362,6 +1362,8 @@ static switch_status_t speech_channel_stop(speech_channel_t *schannel)
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "(%s) %s stopped\n", schannel->name, speech_channel_type_to_string(schannel->type));
|
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:
|
done:
|
||||||
|
|
Loading…
Reference in New Issue