From: Anthony Minessale Date: Thu, 6 Dec 2012 16:11:11 +0000 (-0600) Subject: FS-4914 --resolve X-Git-Tag: v1.3.9~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc875741d20ac89477f6160981fb41de2adafd6;p=thirdparty%2Ffreeswitch.git FS-4914 --resolve --- 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,