<div dir="ltr">It would use these functions:<br><div><br></div><div>1) answer</div><div>2) <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_sched_hangup">sched_hangup</a> -&gt; +400 (e.g. 400 seconds, or set a specific time)</div>

<div>3) <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_endless_playback">endless_playback</a>-&gt;file.wav</div><div><br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>


<br><br><div class="gmail_quote">On Thu, Mar 1, 2012 at 7:23 PM, Milos Jovanovic <span dir="ltr">&lt;<a href="mailto:development.milos@gmail.com">development.milos@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>Hello.</div><div><br></div><div>I need a simple dialplan extension that will do the following:<br><br></div><div>1) answer the call</div><div>2) play a sound file in loop (unlimited loops)</div>
<div>3) hangup the call after X seconds (number of seconds should be defined in extension)</div><div><br></div><div>What&#39;s the simplest way to do that?</div><div><br>Thanks in advance,</div><div>
Milos</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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div></div>