From 99a5b50780b1c3e235d6a4d9f3b3178096ba6a10 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 8 Dec 2014 02:03:17 -0600 Subject: [PATCH] FS-7063 #resolve --- src/switch_ivr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index c328e177f1..24f177355a 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2946,7 +2946,7 @@ SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint3 } - qlen = delay_ms / (interval) / 2; + qlen = delay_ms / (interval); switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Setting delay to %dms (%d frames)\n", delay_ms, qlen); jb = stfu_n_init(qlen, qlen, read_impl.samples_per_packet, read_impl.samples_per_second, 0);