<div dir="ltr">Check out the playback related variables at <a href="https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-Playbackrelatedvariables">https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables#ChannelVariables-Playbackrelatedvariables</a><div>In the playback_stop event you can store the playback_last_offset_pos in a database, then next time you play the file you append @@&lt;offset&gt; to the end of the filename.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 22, 2014 at 11:06 AM, Moishe Grunstein <span dir="ltr">&lt;<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">I don’t see why pulling the stream from a http stream would give me more flexibility than playing back a local sound file.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Moishe Grunstein<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Tornado Computer Systems, Inc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><a href="tel:212.400.7650" value="+12124007650" target="_blank">212.400.7650</a> <a href="http://888.IPPBX.US" target="_blank">888.IPPBX.US</a><br>
</span><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a> </span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Polycom Certified VAR<br>
Microsoft Small Business Specialist, Cisco SMB Select Certified</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#1f497d;text-decoration:none"><img border="0" width="147" height="68" src="cid:image001.jpg@01D01DD7.61E2EBE0" alt="cid:image001.jpg@01C72F94.9EE45D60"></span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#c0504d">Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions
 * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Stanislav Sinyagin<br>
<b>Sent:</b> Saturday, December 20, 2014 9:00 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Bookmarking Audio recording<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I think it&#39;s easier to stream from an HTTP source into FreeSWITCH, and to control the actual position and the start of playback at that streaming source. But I don&#39;t know much about streaming software that is
 available.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">There&#39;s also mod_vlc which should support more flexibility in streaming.<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</span><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><span class="">
<p class="MsoNormal">On Sun, Dec 21, 2014 at 1:54 AM, Moishe Grunstein &lt;<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>&gt; wrote:<u></u><u></u></p>
</span><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div><span class="">
<p class="MsoNormal">I am working on creating a hotline for playback of children stories. One of their requirements are bookmarks, if a child wants to stop in middle of a story and call back the next
 day, they should be able to resume playback from the location they stopped.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I see Freeswitch has the ability to set the start position using @@, so I can resume playback from 3 minutes in to the story for example
<a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+playback" target="_blank">
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+playback</a>  I am not clear if there is any method to see the position that the caller is currently at, so I can save his position to a DB when he bookmarks it.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I was thinking of using the call duration however that is complicated to calculate as I am planning to use seek &amp; speed options
<a href="https://wiki.freeswitch.org/wiki/Session_streamFile" target="_blank">https://wiki.freeswitch.org/wiki/Session_streamFile</a>.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Does anyone know of a method to capture the place in a wav or mp3 file currently playing?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Moishe Grunstein</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Tornado Computer Systems, Inc.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><a href="tel:212.400.7650" value="+12124007650" target="_blank">212.400.7650</a>
<a href="http://888.IPPBX.US" target="_blank">888.IPPBX.US</a><br>
</span><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a>
</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Polycom Certified VAR<br>
Microsoft Small Business Specialist, Cisco SMB Select Certified</span><u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u><u></u></span></a></p>
</span><p class="MsoNormal"><span style="font-size:8.0pt;color:#c0504d"><a href="http://www.nysolutions.com/" target="_blank"><span style="color:#c0504d;text-decoration:none">Computer Networking * Managed
 Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS</span><span style="font-size:12.0pt;color:windowtext;text-decoration:none"><u></u><u></u></span></a></span></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="color:windowtext;text-decoration:none"> <u></u><u></u></span></a></p>
</div>
</div><span class="">
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="color:windowtext;text-decoration:none"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<u><span style="color:blue">consulting@freeswitch.org</span></u><br>
<u><span style="color:blue">http://www.freeswitchsolutions.com</span></u><br>
<br>
Official FreeSWITCH Sites<br>
<u><span style="color:blue">http://www.freeswitch.org</span></u><br>
<u><span style="color:blue">http://confluence.freeswitch.org</span></u><br>
<u><span style="color:blue">http://www.cluecon.com</span></u><br>
<br>
FreeSWITCH-users mailing list<br>
<u><span style="color:blue">FreeSWITCH-users@lists.freeswitch.org</span></u><br>
<u><span style="color:blue">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</span></u><br>
UNSUBSCRIBE:<u><span style="color:blue">http://lists.freeswitch.org/mailman/options/freeswitch-users</span></u><br>
<u><span style="color:blue">http://www.freeswitch.org</span></u><u></u><u></u></span></a></p>
</span></blockquote>
</div>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u> <u></u></span></a></p>
</div>
</div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div></div>