<div dir="ltr"><br>Hi Brian ,<br><br>I got it working by removing a leading + sign.The correct syntax is
<br><br>new_session.execute("sched_hangup", "+"+calllength+" alloted_timeout");<br><br>Thanks a lot for your help.<br><br><br><br>-- <br>Thanks and Regards <br><br>Vidhya Sagar Dixit<br><br>
<br><div class="gmail_quote">On Tue, Sep 9, 2008 at 11:57 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Show me the debug log.. you have to do the +60 otherwise its gonna<br>
execute late since without the plus is in epoch time. By my<br>
calculations that task executed 38.7 years late. :P<br>
<div class="Ih2E3d"><br>
On Sep 9, 2008, at 2:48 AM, vidhya sagar dixit wrote:<br>
<br>
> 2008-09-09 13:12:33 [WARNING] switch_scheduler.c:114<br>
> task_thread_loop() Task was executed late by 1220946153 seconds 2<br>
> switch_ivr_schedule_hangup (17c471d2-0e6b-4b61-89f9-59f56997c94c)<br>
<br>
</div><div><div></div><div class="Wj3C7c">Brian West<br>
<a href="mailto:sip%3Abrian@freeswitch.org">sip:brian@freeswitch.org</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>
</div>