As I recall, you nee to make sure you run this script with the DeadAGI command, not just AGI. This will make sure that the dial command will return to your script only after it is done.
--Brian On Sat, Oct 07, 2006 at 10:45:10PM -0700, Ali wrote: > So what should I do? > > > > On 10/7/06, Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > > > >On Fri, Oct 06, 2006 at 10:39:18PM -0700, Ali wrote: > >> Hi, > >> > >> I am wondering if astcc has ever worked for someone because it always > >return > >> 0 for answeredtime! I tracked every bit of informaion on google and wiki > >and > >> finally found out that its because of asterisk returning to dial plan > >after > >> executing Dial, so astcc.agi runs through the end without wating for > >call > >> completion. > >> > >> Am I missing something crazy? please someone give me a hint. > >> > >> > > > >astcc doesn't use strict. This is perl code I wouldn't like to touch. > > > >-- > >Tzafrir Cohen sip:[EMAIL PROTECTED] > >icq#16849755 iax:[EMAIL PROTECTED] > >+972-50-7952406 jabber:[EMAIL PROTECTED] > >[EMAIL PROTECTED] http://www.xorcom.com > >_______________________________________________ > >--Bandwidth and Colocation provided by Easynews.com -- > > > >asterisk-users mailing list > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
