[Freeswitch-users] About sched_hangup
ryharris at airmail.cc
Fri Mar 1 15:48:41 UTC 2019
On 3/1/19 3:45 AM, 王聡 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?
Give sched_cancel a try:
Then schedule the new hangup.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users