<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span><br></span></div><div>doesn't this article explain exactly that?</div><div>http://wiki.freeswitch.org/wiki/Mod_local_stream</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;">You can define your own playlist and use it in "playback" application, same way as you do with individual files.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;"><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> Tuesday, December 31, 2013 8:16 PM<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="yiv3539809124"><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 class="yiv3539809124gmail_extra"><br clear="none"><br clear="none"><div class="yiv3539809124gmail_quote">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 class="yiv3539809124gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv3539809124yqt1921081601" id="yiv3539809124yqt12161"><div style="word-wrap:break-word;"><div class="yiv3539809124im">How are you wanting to initiate this?</div><div><div class="yiv3539809124h5"><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 class="yiv3539809124gmail_extra"><br clear="none"><br clear="none"><div class="yiv3539809124gmail_quote">
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 class="yiv3539809124gmail_quote" 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><div class="yqt1921081601" id="yqt62069">_________________________________________________________________________<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>