From f10566af914cc6e89cb0bbbdd8a8d63b5630638f Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 11 Aug 2011 08:49:13 -0500 Subject: [PATCH] FS-3181 --resolve the new code requires accurate timestamps, we were incrementing it by the interval (20) instaead of the samples (160) --- 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 84e077f27b..0989cbc4d4 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2412,7 +2412,7 @@ SWITCH_DECLARE(void) switch_ivr_delay_echo(switch_core_session_t *session, uint3 } stfu_n_eat(jb, ts, read_frame->payload, read_frame->data, read_frame->datalen, 0); - ts += interval; + ts += read_impl.samples_per_packet; if ((jb_frame = stfu_n_read_a_frame(jb))) { write_frame.data = jb_frame->data;