[Freeswitch-users] Limiting call length
Gregor Nanger
gregor at infomedia.si
Tue Jul 3 20:59:19 UTC 2018
I think you should also use uuid of call. This is from confluence:
<action application="export" data="nolocal:api_on_answer=sched_hangup +60
${uuid} alloted_timeout" />
2018-07-03 16:38 GMT+02:00 Rick Jarvis <rick at magicmail.mooo.com>:
> Hey all
>
> Looking for a way to limit all calls to a maximum of 10 minutes, when
> originating a call using the event socket.
>
> I’ve tried using sched_hangup like this:
>
> originate {origination_caller_id_number=01234567890,execute_on_answer=sched_hangup
> +600 alloted_timeout}sofia/. . . .
>
> But no dice…
>
> R
>
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.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
> https://freeswitch.com
>
--
Gregor Nanger
*CTO*
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180703/ba83f08f/attachment.html>
More information about the FreeSWITCH-users
mailing list