Thank you for your answer,




Is the call tracknum stored in some variable?



Could you let me know how to  pass a call tracknum to an AGI. 





Se.-





> ----- Original Message -----
> From: Ruddy Gbaguidi
> 
> First, if you want to use that, you may want pass the call tracknum to 
> the myagi.agi,
> so you will know which call the dialedtime and answeredtime belongs to.
> 
> But you can use the Dial 'g' option that doesn't hangup up both legs of 
> the call when the called party hangs up.
> 
> 
> 
> selmak se wrote:
> >
> >
> > Hi,
> >
> >
> >
> >
> > I noticed that when dial terminates it does not return to the 
> > dialplan, and therefore can not execute any entry after Dial().
> >
> >
> > Is there any trick to overcome this limitation ?
> >
> >
> >
> > How I am supposed to handle the returned vales DIALEDTIME, 
> > ANSWEREDTIME if I can not execute anything after Dial()?
> >
> >
> >
> > I made a workaround with DeadAGI (below) but it is unreliable: if 2 
> > calls end nearly at the same time I do not know to whom belongs the 
> > ANSWEREDTIME value :
> >
> >
> > exten => h,1,DeadAGI(myagi.agi,0,${DIALEDTIME},${ANSWEREDTIME},00)
> >
> >
> > Any comments?
> >
> >
> 
> 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to