[Freeswitch-users] question on file string in playback
hawkins at hawkinsegroup.com
Mon Aug 8 10:15:05 MSD 2016
Simple answer is no, you don't have to specific the sample rate. If your
doing mp3 make sure mod_shout is loaded. I have plenty of code working
properly with no sample rate specified, but all the wav files are 8k.
Sent from my NationPCS® Nexus 6.
On Aug 7, 2016 10:50 PM, "Dave Horton" <daveh at beachdognet.com> wrote:
> When using the playback application (or play_and_get_digits etc) do I need
> to specify the full path to the file under the base sounds directory,
> including the sample rate (e.g. 8000).
> It’s a bit cumbersome to have to put the sample rate into the file string
> since that is dynamically determined at call set up, and I _thought_ that
> had the ability to automatically factor that in when locating the file.
> However, I can’t find examples that do that — am I wrong, and must I somehow
> concoct a file string that will be different per call if different codecs
> are chosen?
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users