<div dir="ltr">Think you need to correctly perceive what the &#39;samples&#39; value means.<div><br></div><div>If the WAV files sample rate is 44kHz (it probably is), then the each second = 44000 samples per second (eg. sample rate * 1000)</div><div><br></div><div>Therefore, 5 seconds would beĀ 220000 samples.</div><div><br></div><div>I think the example in the wiki (@@8000) is based off a G729 file, which runs at 8kHz therefore 8000 samples = 1 second.</div><div><br></div><div>Cheers</div><div>Ben Cropley</div><div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 11:51 AM, Anonim Stefan <span dir="ltr">&lt;<a href="mailto:fanx07@gmail.com" target="_blank">fanx07@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am trying to playback a file from a given position. I am setting this in my extension, however the file always plays from the beginning:<br>&quot;<br>&lt;action application=&quot;playback&quot; data=&quot;/usr/share/freeswitch/<wbr>sounds/en/us/callie/voicemail/<wbr>48000/vm-tutorial_change_pin.<wbr>wav@@5000&quot;/&gt;<br>&quot;<br></div>I am using FreeSWITCH Version 1.6.10-17-726448d~64bit.<br>Any idea how to make it work?<br></div><div><br><br></div><div>Also, I am curious if shout cast playback from a given start position is possible; something like this:<br>&quot;<br>&lt;action application=&quot;playback&quot; 
data=&quot;shout://<a href="http://www.soundjay.com/human/applause-01.mp3@@2000" target="_blank">www.soundjay.<wbr>com/human/applause-01.mp3@@<wbr>2000</a>&quot;/&gt;<br>&quot;<br></div><div><br></div>Thanks,<br></div>Stefan<br></div>
<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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">All the best,<div>Ben Cropley</div><div>07539 366 905</div></div></div>
</div>