From: Anthony Minessale Date: Wed, 27 Mar 2013 18:40:51 +0000 (-0500) Subject: FS-5228 --resolve problem was actually in the send_silence code as used from park... X-Git-Tag: v1.3.17-final~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8efaea29af4fc302ba2916f96c404c05c1d1ecd3;p=thirdparty%2Ffreeswitch.git FS-5228 --resolve problem was actually in the send_silence code as used from park not uuid_displace but uuid_displace relies on the write stream so thus it was a symptom --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 8256b861b4..92440ce78f 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -931,7 +931,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session, if (switch_core_codec_init(&codec, "L16", NULL, - imp.samples_per_second, + imp.actual_samples_per_second, imp.microseconds_per_packet / 1000, imp.number_of_channels, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, NULL,