From 3bc875741d20ac89477f6160981fb41de2adafd6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 6 Dec 2012 10:11:11 -0600 Subject: [PATCH] FS-4914 --resolve --- src/switch_ivr_originate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index dc281b5885..2024bc3012 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -3073,6 +3073,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } } write_frame.datalen = (uint32_t) (ringback.asis ? olen : olen * 2); +write_frame.samples = (uint32_t) olen; + } else if (ringback.audio_buffer) { if ((write_frame.datalen = (uint32_t) switch_buffer_read_loop(ringback.audio_buffer, write_frame.data,