MODAPP-301
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14129 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3f55e02c44
commit
1b14382f4a
|
@ -332,7 +332,8 @@ static switch_status_t play_and_collect(switch_core_session_t *session, switch_i
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "waiting for %u/%u digits t/o %d\n",
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "waiting for %u/%u digits t/o %d\n",
|
||||||
(uint32_t)(menu->inlen - strlen(menu->buf)), (uint32_t)need, menu->inter_timeout);
|
(uint32_t)(menu->inlen - strlen(menu->buf)), (uint32_t)need, menu->inter_timeout);
|
||||||
status = switch_ivr_collect_digits_count(session, menu->ptr, menu->inlen - strlen(menu->buf),
|
status = switch_ivr_collect_digits_count(session, menu->ptr, menu->inlen - strlen(menu->buf),
|
||||||
need, "#", &terminator, menu_buf_len ? menu->inter_timeout : menu->timeout, 0, 0);
|
need, "#", &terminator, menu_buf_len ? menu->inter_timeout : menu->timeout,
|
||||||
|
menu->inter_timeout, menu->timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu->confirm_macro && status == SWITCH_STATUS_SUCCESS && *menu->buf != '\0') {
|
if (menu->confirm_macro && status == SWITCH_STATUS_SUCCESS && *menu->buf != '\0') {
|
||||||
|
|
Loading…
Reference in New Issue