提交 5680bceb authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8282 #resolve [sleep is not interrupted by uuid_transfer]

上级 fd603e48
......@@ -159,7 +159,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
if (!switch_channel_media_ready(channel)) {
for (elapsed=0; switch_channel_up(channel) && elapsed<(ms/20); elapsed++) {
for (elapsed=0; switch_channel_ready(channel) && elapsed<(ms/20); elapsed++) {
if (switch_channel_test_flag(channel, CF_BREAK)) {
switch_channel_clear_flag(channel, CF_BREAK);
switch_goto_status(SWITCH_STATUS_BREAK, end);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论