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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com