]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
send silence on smaller sleeps
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 14:48:42 +0000 (09:48 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 10 May 2012 14:51:07 +0000 (09:51 -0500)
src/switch_ivr.c

index 325a8083a2c63dab643cfb237ee615b4300d1ae3..e4fc807596d6fbb17db3889b3baf9bf502d44b1a 100644 (file)
@@ -170,7 +170,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
                SWITCH_IVR_VERIFY_SILENCE_DIVISOR(sval);
        }
 
-       if (ms > 100 && sval) {
+       if (ms > 10 && sval) {
                switch_core_session_get_read_impl(session, &imp);
 
                if (switch_core_codec_init(&codec,