<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">ok, then make an mp3 streaming server and use mod_shoutcast to play the stream<br><br><div><span></span></div><div><br></div>  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Ali Pey &lt;alipey@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 1, 2014 3:50 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re:
 [Freeswitch-users] Playback in a loop<br> </font> </div> <div class="y_msg_container"><br><div id="yiv4928220173"><div><div dir="ltr">This won't work for my scenario. The subscribers in my environment can upload their own custom music files and I won't be able to create playlists and change configuration files for every user.&nbsp;<div>
<br clear="none"></div><div>I just need to play one .wav file in a loop.</div><div><br clear="none"></div><div>Thanks.</div><div><div class="yiv4928220173gmail_extra"><br clear="none"><br clear="none"><div class="yiv4928220173gmail_quote">On Tue, Dec 31, 2013 at 8:44 PM, Stanislav Sinyagin <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:ssinyagin@yahoo.com" target="_blank" href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>&gt;</span> wrote:<br clear="none">
<blockquote class="yiv4928220173gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv4928220173yqt4521832972" id="yiv4928220173yqt72018"><div><div style="font-size:10pt;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><div>
<span><br clear="none"></span></div><div>doesn't this article explain exactly that?</div><div><a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/wiki/Mod_local_stream">http://wiki.freeswitch.org/wiki/Mod_local_stream</a></div><div>
<br clear="none"></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">You can define your own playlist and use it in "playback" application, same way as you do with individual files.</div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;"><br clear="none"></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;">
<br clear="none"></div>  <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;">
 <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Ali Pey &lt;<a rel="nofollow" shape="rect" ymailto="mailto:alipey@gmail.com" target="_blank" href="mailto:alipey@gmail.com">alipey@gmail.com</a>&gt;<br clear="none"> <b><span style="font-weight:bold;">To:</span></b> FreeSWITCH Users Help &lt;<a rel="nofollow" shape="rect" ymailto="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt; <br clear="none">
 <b><span style="font-weight:bold;">Sent:</span></b> Tuesday, December 31, 2013 8:16 PM<br clear="none"> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Freeswitch-users] Playback in a loop<br clear="none"> </font> </div><div><div class="yiv4928220173h5">
 <div><br clear="none"><div><div><div dir="ltr">I'm using bind_digit_action to detect certain key strokes during a call. When the b-leg presses a
 certain key combination, I would like to put the a-leg on hold and play some prompts for the b-leg to provide some in call features such as call transfer.<div>
<br clear="none"></div><div>I use playback on the a-leg and seems to do the trick, but the problem is that I want to loop through the music file. I'm using Perl and ESL.</div><div><br clear="none"></div><div>Is there a better way to do this?</div>

<div><br clear="none"></div><div>Thanks,</div><div>Ali Pey</div></div><div><br clear="none"><br clear="none"><div>On Tue, Dec 31, 2013 at 12:22 PM, Michael Jerris <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:mike@jerris.com" target="_blank" href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br clear="none">

<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="word-wrap:break-word;"><div>How are you wanting to initiate this?</div><div><div><div>
<br clear="none"><div><div>On Dec 30, 2013, at 7:28 PM, Ali Pey &lt;<a rel="nofollow" shape="rect" ymailto="mailto:alipey@gmail.com" target="_blank" href="mailto:alipey@gmail.com">alipey@gmail.com</a>&gt; wrote:</div><br clear="none"><blockquote type="cite">
<div dir="ltr">I was trying to use playback since playback is similar to park as I understand.<div>
<br clear="none"></div><div>Is there a better way to put the a-leg on hold?</div><div><br clear="none"></div></div><div><br clear="none"><br clear="none"><div>
On Mon, Dec 30, 2013 at 7:17 PM, Michael Jerris <span dir="ltr">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:mike@jerris.com" target="_blank" href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


If you get the call on actual hold, you can use actual hold music like a mod_local_stream that loops. &nbsp;How are you wanting to initiate this?<br clear="none">
<div><div><br clear="none">
On Dec 30, 2013, at 4:25 PM, Ali Pey &lt;<a rel="nofollow" shape="rect" ymailto="mailto:alipey@gmail.com" target="_blank" href="mailto:alipey@gmail.com">alipey@gmail.com</a>&gt; wrote:<br clear="none">
<br clear="none">
&gt; Hello,<br clear="none">
&gt;<br clear="none">
&gt; Is there a way to playback a file in a loop?<br clear="none">
&gt;<br clear="none">
&gt; I'm trying to find a way to put the a-leg on hold with music while b-leg gets some prompts to do a initiate a transfer.<br clear="none">
&gt;<br clear="none">
&gt; I have looked at endless_playback, but the problem seems to be that there is no way to stop the play back and bridge the call again. Is that still true with endless_playback?<br clear="none">
&gt;<br clear="none">
&gt; Regards,<br clear="none">
&gt; Ali Pey<br clear="none">
&gt;<br clear="none">
</div></div><div><div>&gt; _________________________________________________________________________<br clear="none">
&gt; Professional FreeSWITCH Consulting Services:<br clear="none">
&gt; <a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
&gt;<br clear="none">
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none">
&gt;<br clear="none">
&gt; Official FreeSWITCH Sites<br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
&gt;<br clear="none">
&gt; FreeSWITCH-users mailing list<br clear="none">
&gt; <a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">
&gt; UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
&gt; <a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<br clear="none">
<br clear="none">
_________________________________________________________________________<br clear="none">
Professional FreeSWITCH Consulting Services:<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none">
<br clear="none">
Official FreeSWITCH Sites<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
<br clear="none">
FreeSWITCH-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">
UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
</div></div></blockquote></div><br clear="none"></div>
_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none"><br clear="none">
Official FreeSWITCH Sites<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
<br clear="none">FreeSWITCH-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">

<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none"></blockquote></div><br clear="none"></div></div></div></div></div><br clear="none">_________________________________________________________________________<br clear="none">

Professional FreeSWITCH Consulting Services:<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none">
<br clear="none">
Official FreeSWITCH Sites<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
<br clear="none">
FreeSWITCH-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">
UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br clear="none"><div>_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none"></div><br clear="none"><br clear="none"></div> </div></div></div> </div>  </div></div></div><br clear="none">_________________________________________________________________________<br clear="none">

Professional FreeSWITCH Consulting Services:<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/">http://www.cudatel.com</a><br clear="none">
<br clear="none">
Official FreeSWITCH Sites<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com</a><br clear="none">
<br clear="none">
FreeSWITCH-users mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">
UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div><img class="yiv4928220173cm-tracker"></div></div></div></div><br><div class="yqt4521832972" id="yqt55433">_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none"><a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none"><br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"><a
 shape="rect" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none"><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none"><a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br
 clear="none"></div><br><br></div> </div> </div>  </div></body></html>