[Freeswitch-users] AbsoluteTimeout: The FreeSWITCH way
Mathieu Rene
mrene_lists at avgs.ca
Tue Jul 28 10:54:58 PDT 2009
You can also schedule a playback then a hangup, what comes after the !
is the hangup cause.
sched_broadcast,Schedule a broadcast in the future,[+]<time> <path>
[aleg|bleg|both],mod_dptools
<action application="sched_broadcast" data="+600 playback!
normal_clearing::/path/to/file" />
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
Am 28-Jul-09 um 1:50 PM schrieb Michael Collins:
> What needs to happen at the end of the timeout? In any case you can
> use the sched_XXX APIs:
> sched_api
> sched_transfer
> sched_hangup
>
> You can get fancy or just hangup up on the call after X number of
> seconds... :)
>
> -MC
>
> On Tue, Jul 28, 2009 at 10:28 AM, Kristian Kielhofner <kristian.kielhofner at gmail.com
> > wrote:
> Hello everyone,
>
> I need to set a maximum call duration. What is the current
> recommended way to implement this in FreeSWITCH? I'm looking for
> something similar to AbsoluteTimeout() in Asterisk.
>
> Thanks!
>
> --
> Kristian Kielhofner
> http://www.astlinux.org
> http://blog.krisk.org
> http://www.star2star.com
> http://www.submityoursip.com
> http://www.voalte.com
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090728/537e64d2/attachment-0002.html
More information about the FreeSWITCH-users
mailing list