| |                  
  ____ ____  ____| | ____ ____   ____ 
 / _  ) _  |/ ___) |/ _  |  _ \ / _  |
( (/ ( ( | | |   | ( ( | | | | ( ( | |
 \____)_||_|_|   |_|\_||_|_| |_|\_|| |
                               (_____|




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9225 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-08-05 21:50:48 +00:00
parent 12b3a4f451
commit 8b4433720e
3 changed files with 11 additions and 0 deletions

View File

@@ -760,6 +760,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_collect_digits_count(switch_core_sess
if (eff_timeout) {
digit_elapsed = (uint32_t) ((switch_timestamp_now() - digit_started) / 1000);
if (digit_elapsed >= eff_timeout) {
status = SWITCH_STATUS_TIMEOUT;
break;
}
}