git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-08-17 23:03:49 +00:00
parent 4c3bb5a905
commit cf19a415ab
1 changed files with 1 additions and 0 deletions

View File

@ -971,6 +971,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_count(switch_core_sess
if (abs_timeout) {
abs_elapsed = (uint32_t) ((switch_micro_time_now() - started) / 1000);
if (abs_elapsed >= abs_timeout) {
status = SWITCH_STATUS_TIMEOUT;
break;
}
}