[Asterisk-Users] AGI Scripts Terminate too Soon

Douglas Garstang dgarstang at oneeighty.com
Mon Feb 27 16:15:32 MST 2006


If that's true, why does dial() return control to the script when the callee hangs up? 

-----Original Message-----
From: Michael Collins [mailto:mcollins at fcnetwork.biz]
Sent: Monday, February 27, 2006 3:43 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] AGI Scripts Terminate too Soon


> http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DeadAGI
> 
> Cheers,
> Jean-Michel.
> 

I am red-faced!  The TFOT book explicitly says this on page 158, on the
box titled, "AGI(), EAGI(), DeadAGI(), and FastAGI()":

"The DeadAGI() application is also just like AGI(), but it works
correctly on a channel that is dead (i.e., a channel that has been hung
up).  As this implies, the regular AGI() application doesn't work on
dead channels."


Jean-Michel, thanks for pointing out the (almost) obvious!

-MC
_______________________________________________
--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



More information about the asterisk-users mailing list