[Freeswitch-users] Limiting call length

David Villasmil david.villasmil.work at gmail.com
Tue Jul 3 23:00:11 UTC 2018


originate
{origination_caller_id_number=01234567890,execute_on_answer='sched_hangup
+10 alloted_timeout'}sofia/...

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337

ᐧ

On Wed, Jul 4, 2018 at 12:52 AM Rick Jarvis <rick at magicmail.mooo.com> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180704/b24bddb1/attachment-0001.html>


More information about the FreeSWITCH-users mailing list