[Freeswitch-users] About sched_hangup

Jurijs Ivolga jurijs.ivolga at gmail.com
Fri Mar 1 08:58:06 UTC 2019


Hi,

For me in Lua it works:

    api:executeString("sched_hangup +30 uuid normal_clearing")

and then if needed:

    api:executeString("sched_hangup +60 uuid normal_clearing")

I suppose it should work in fs_cli too...

Jurijs


On Fri, Mar 1, 2019 at 10:45 AM 王聡 <cong.wang.itsherpa at gmail.com> wrote:

> Hey all,
>
> I made a prepaid call system and applied sched_hangup in dialplan to limit
> the call duration like(lua) :
>
> session:execute("sched_hangup", “+60")
>
>
> Recently I updated my system to allow user buy points during calling, but
> when I tried to recall sched_hangup like [sched_hangup +30 <uuid>] in
> fs_cli it still hangup at 60s (which hopes to hangup at 90s).
> Is there any mistake in my usage? Or any solutions for this?
>
> Regards.
> C.Wang
> _________________________________________________________________________
> 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/20190301/ca599217/attachment-0001.html>


More information about the FreeSWITCH-users mailing list