[Freeswitch-users] Scheduled hangup from javascript

vidhya sagar dixit vids.cs at gmail.com
Tue Sep 9 22:09:07 PDT 2008


Hi Brian ,

I got it working by removing a leading + sign.The correct syntax is

new_session.execute("sched_hangup", "+"+calllength+" alloted_timeout");

Thanks a lot for your help.



-- 
Thanks and Regards

Vidhya Sagar Dixit


On Tue, Sep 9, 2008 at 11:57 PM, Brian West <brian at freeswitch.org> wrote:

> Show me the debug log.. you have to do the +60 otherwise its gonna
> execute late since without the plus is in epoch time.  By my
> calculations that task executed 38.7 years late.  :P
>
> On Sep 9, 2008, at 2:48 AM, vidhya sagar dixit wrote:
>
> > 2008-09-09 13:12:33 [WARNING] switch_scheduler.c:114
> > task_thread_loop() Task was executed late by 1220946153 seconds 2
> > switch_ivr_schedule_hangup (17c471d2-0e6b-4b61-89f9-59f56997c94c)
>
> Brian West
> sip:brian at freeswitch.org <sip%3Abrian at freeswitch.org>
>
>
>
>
>
>
>
> _______________________________________________
> 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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080910/c45e4544/attachment-0002.html 


More information about the FreeSWITCH-users mailing list