[asterisk-bugs] [Asterisk 0014811]: DeadAGI at h extension

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 6 07:39:34 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14811 
====================================================================== 
Reported By:                hoaianh
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14811
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-02 07:54 CDT
Last Modified:              2009-04-06 07:39 CDT
====================================================================== 
Summary:                    DeadAGI at h extension
Description: 
I make outgoing call with the context

[out]
exten => s,1,Anser()
exten => s,n,Playback(tt-weasels)
exten => s,n,Dial(ss7/out/123456789)
exten => s,n,Hangup()

exten => h,1,DeadAgi(agi://agi-server/script)

The problem is when leg A is hang up it works fine but if leg B is hang up
I get 
--> deadagi_exec: Running DeadAGI on a live channel will cause problems,
please use AGI

This one seems to be very close to issue 0014624 but the major difference
is that always happens.

On another box with 1.4.19.2 it works just fine.


====================================================================== 

---------------------------------------------------------------------- 
 (0102772) hoaianh (reporter) - 2009-04-06 07:39
 http://bugs.digium.com/view.php?id=14811#c102772 
---------------------------------------------------------------------- 
Thanks very much for your response.

I post also an output file got from a box with version 1.4.19.2 where
every thing works fine. 

As in 1.4.19.2 Soft-Hangup is called on both legs before the AGI script is
called. In 1.4.24 it seems to be that Soft-Hangup is called first on the
leg sending REL then the AGI stuff is triggered, then Soft-Hangup on the
other leg. I assume h extension is here considered relatively to the leg
which has initiated call (leg A). Hence I get this WARNING if leg B is hang
up.

I will try your recommendations and inform you about the result as soon as
possible. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-06 07:39 hoaianh        Note Added: 0102772                          
======================================================================




More information about the asterisk-bugs mailing list