]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
DP-4
authorMathieu Rene <mrene@avgs.ca>
Mon, 17 Aug 2009 23:03:49 +0000 (23:03 +0000)
committerMathieu Rene <mrene@avgs.ca>
Mon, 17 Aug 2009 23:03:49 +0000 (23:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14548 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index 5df791bfbc112e19d9731f7a87bf242b274ccb1e..176ddf034db340cc7dedb6d2c73b3f28cd806fd0 100644 (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;
                        }
                }