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

This commit is contained in:
Anthony Minessale 2013-03-27 13:40:51 -05:00
parent 3b50675d25
commit 8efaea29af
1 changed files with 1 additions and 1 deletions

View File

@ -931,7 +931,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session,
if (switch_core_codec_init(&codec, if (switch_core_codec_init(&codec,
"L16", "L16",
NULL, NULL,
imp.samples_per_second, imp.actual_samples_per_second,
imp.microseconds_per_packet / 1000, imp.microseconds_per_packet / 1000,
imp.number_of_channels, imp.number_of_channels,
SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, NULL, SWITCH_CODEC_FLAG_ENCODE | SWITCH_CODEC_FLAG_DECODE, NULL,