]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5228 --resolve problem was actually in the send_silence code as used from park...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 18:40:51 +0000 (13:40 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 27 Mar 2013 18:40:51 +0000 (13:40 -0500)
src/switch_ivr.c

index 8256b861b40aae5ec4344e12f41ffdc4e9747c1a..92440ce78f728d59c3af82be672d7376ac608ca2 100644 (file)
@@ -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,