<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You can also schedule a playback then a hangup, what comes after the ! is the hangup cause.<div><br></div><div><div>sched_broadcast,Schedule a broadcast in the future,[+]&lt;time&gt; &lt;path&gt; [aleg|bleg|both],mod_dptools</div><div><br></div><div>&lt;action application="sched_broadcast" data="+600 playback!normal_clearing::/path/to/file" /&gt;</div><div><br></div><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>Mathieu Rene</div><div>Avant-Garde Solutions Inc</div><div>Office: + 1 (514) 664-1044 x100</div><div>Cell: +1 (514) 664-1044 x200</div><div><a href="mailto:mrene@avgs.ca">mrene@avgs.ca</a></div><div><br></div><div><br></div></span></div></div><br class="Apple-interchange-newline"> </div><br><div><div>Am 28-Jul-09 um 1:50 PM schrieb Michael Collins:</div><br class="Apple-interchange-newline"><blockquote type="cite">What needs to happen at the end of the timeout? In any case you can use the sched_XXX APIs:<br>sched_api<br>sched_transfer<br>sched_hangup<br><br>You can get fancy or just hangup up on the call after X number of seconds... :)<br> <br>-MC<br><br><div class="gmail_quote">On Tue, Jul 28, 2009 at 10:28 AM, Kristian Kielhofner <span dir="ltr">&lt;<a href="mailto:kristian.kielhofner@gmail.com">kristian.kielhofner@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hello everyone,<br> <br> &nbsp;I need to set a maximum call duration. &nbsp;What is the current<br> recommended way to implement this in FreeSWITCH? &nbsp;I'm looking for<br> something similar to AbsoluteTimeout() in Asterisk.<br> <br> Thanks!<br> <br> --<br> Kristian Kielhofner<br> <a href="http://www.astlinux.org" target="_blank">http://www.astlinux.org</a><br> <a href="http://blog.krisk.org" target="_blank">http://blog.krisk.org</a><br> <a href="http://www.star2star.com" target="_blank">http://www.star2star.com</a><br> <a href="http://www.submityoursip.com" target="_blank">http://www.submityoursip.com</a><br> <a href="http://www.voalte.com" target="_blank">http://www.voalte.com</a><br> <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><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>