send silence on smaller sleeps

This commit is contained in:
Anthony Minessale 2012-05-10 09:48:42 -05:00
parent e0db68d20b
commit 68021e862f

View 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,