In the 1.0.x branch asterisk does not always send SIGHUP to agi scripts on call hangup. In 1.2.x a SIGHUP is always sent, even using DEADAGI - From the UPGRADE.txt in the source:

AGI:

* AGI scripts did not always get SIGHUP at the end, previously.  That
 behavior has been fixed.  If you do not want your script to terminate
 at the end of AGI being called (e.g. on a hangup) then set SIGHUP to
 be ignored within your application.

Craig
----- Original Message ----- From: "Darren Wiebe" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com>
Sent: Tuesday, February 28, 2006 10:09 AM
Subject: Re: [Asterisk-Users] AGI Scripts Terminate too Soon


In that case, asterisk sends -HUP to the agi script (I believe).

Darren

Michael Collins wrote:

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



Doug, if I understand the AGI limitation correctly, the 'dead' in
DeadAGI() refers to the other end of a dial() connection.  I *think*,
but I'm not positive on that.

Does anyone know the answer to this one?

Thanks,
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



--
Darren Wiebe
[EMAIL PROTECTED]
Aleph Communications
ASTPP - Open Source Voip Billing & Calling Cards
www.aleph-com.net/astpp

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

Reply via email to