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@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@freeswitch.org <sip%3Abrian@freeswitch.org>
_______________________________________________ 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 http://www.freeswitch.org