提交 646232c0 authored 作者: Michael Jerris's avatar Michael Jerris

build tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8066 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 574884bd
......@@ -316,11 +316,11 @@ static switch_status_t play_and_collect(switch_core_session_t *session, switch_i
switch_ivr_phrase_macro(session, menu->confirm_macro, menu->buf, NULL, ap);
if (menu->confirm_key && switch_strlen_zero(buf)) {
if (menu->confirm_key && *buf == '\0') {
switch_ivr_collect_digits_count(session, buf, sizeof(buf), 1, "#", &terminator_key, menu->timeout, 0, 0);
}
if (menu->confirm_key && !switch_strlen_zero(buf)) {
if (menu->confirm_key && *buf != '\0') {
if (*menu->confirm_key == *buf) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,
"approving digits '%s' via confirm key %s\n", menu->buf, menu->confirm_key);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论