提交 d4b1da5c authored 作者: Anthony Minessale's avatar Anthony Minessale

FSCORE-554

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16706 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 969688a0
......@@ -1732,11 +1732,7 @@ SWITCH_DECLARE(switch_status_t) switch_play_and_get_digits(switch_core_session_t
status = SWITCH_STATUS_SUCCESS;
}
if (status == SWITCH_STATUS_TOO_SMALL && strlen(digit_buffer) == 0) {
return SWITCH_STATUS_FALSE;
}
if (!(status == SWITCH_STATUS_TOO_SMALL && strlen(digit_buffer) == 0)) {
if (status == SWITCH_STATUS_SUCCESS) {
if (!zstr(digit_buffer)) {
if (zstr(digits_regex)) {
......@@ -1750,6 +1746,7 @@ SWITCH_DECLARE(switch_status_t) switch_play_and_get_digits(switch_core_session_t
}
}
}
}
if (!switch_channel_ready(channel)) {
break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论