<p dir="ltr">Simple answer is no, you don&#39;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.</p>
<p dir="ltr">Sincerely,<br>
Don Hawkins</p>
<p dir="ltr">Sent from my NationPCS® Nexus 6.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Aug 7, 2016 10:50 PM, &quot;Dave Horton&quot; &lt;<a href="mailto:daveh@beachdognet.com">daveh@beachdognet.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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).<br>
<br>
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 freeswitch<br>
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<br>
concoct a file string that will be different per call if different codecs are chosen?<br>
<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>