[asterisk-bugs] [Asterisk 0014624]: 1.4.23.1 DeadAGI() in "h" extension

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Mar 8 20:23:27 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14624 
====================================================================== 
Reported By:                acunningham
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14624
Category:                   General
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.23 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-08 19:22 CDT
Last Modified:              2009-03-08 20:23 CDT
====================================================================== 
Summary:                    1.4.23.1 DeadAGI() in "h" extension
Description: 
The following worked correctly on 1.4.21.1 and older:

exten => h, 1, DeadAGI(agi://127.0.0.1/end)

but on 1.4.23.1 sometimes gives:

    -- Executing [h at from-external:1] DeadAGI("SIP/1.2.3.4-406c3838",
"agi://127.0.0.1/end") in new stack
[Mar  8 20:17:20] WARNING[19208]: res_agi.c:2158 deadagi_exec: Running
DeadAGI on a live channel will cause problems, please use AGI

Changing to:

exten => h, 1, AGI(agi://127.0.0.1/end)

sometimes gives the converse warning about running AGI on a dead channel.
Is Asterisk sometimes calling the DeadAGI before really hanging up the
call?
====================================================================== 

---------------------------------------------------------------------- 
 (0101345) tilghman (administrator) - 2009-03-08 20:23
 http://bugs.digium.com/view.php?id=14624#c101345 
---------------------------------------------------------------------- 
If Asterisk hangs up because the end of an extension list is reached, it
won't cause an explicit hangup, though it goes to the "h" extension.  If
you want to prevent this behavior, simply do an explicit Hangup() at the
end of each extension logic. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-08 20:23 tilghman       Note Added: 0101345                          
======================================================================




More information about the asterisk-bugs mailing list