From 8efaea29af4fc302ba2916f96c404c05c1d1ecd3 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 27 Mar 2013 13:40:51 -0500 Subject: [PATCH] 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 --- 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 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,