You mean sample rate.
Not sure, but maybe these are useful: 
https://freeswitch.org/confluence/display/FREESWITCH/mod_local_stream 
https://freeswitch.org/confluence/display/FREESWITCH/Music+on+Hold

Or you could check in the dialplan channel variable "rtp_use_codec_rate" and play different files based on its value. 

On Thu, Mar 5, 2020 at 7:58 PM Wilmar Pérez via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:



---------- Forwarded message ----------
From: "Wilmar Pérez" <ewdpb@yahoo.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Thu, 5 Mar 2020 11:09:58 -0500
Subject: Custom audio files auto bitrate
Hi all,

I have a bunch of custom audio files to playback in an IVR execution. How can I make it work as the default sound files in freeswitch where the audio rate is auto selected (8000, 16000, 32000, 48000)?

Thanks!

Wilmar



---------- Forwarded message ----------
From: "Wilmar Pérez via FreeSWITCH-users" <freeswitch-users@lists.freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc: 
Bcc: 
Date: Thu, 05 Mar 2020 11:58:52 -0800 (PST)
Subject: [Freeswitch-users] Custom audio files auto bitrate
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com