[asterisk-users] After Dial execution, using DIALEDTIME, ANSWEREDTIME

Darren Sessions dmsessions at gmail.com
Thu Aug 21 10:45:18 CDT 2008


We recently discussed DeadAGI on the list - I'd check the archives  
first.

I just finished doing a write up on DeadAGI and Perl on my website if  
you're interested.

DeadAGI *can* be very reliable if done properly.

- Darren


_____________________________

dmsessions at gmail.com
http://www.darrensessions.com
_____________________________




On Aug 21, 2008, at 9:35 AM, 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080821/eaeef698/attachment.htm 


More information about the asterisk-users mailing list