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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 4 14:25:58 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:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.24 
Regression:                 Yes 
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-05-04 14:25 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.


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

---------------------------------------------------------------------- 
 (0104139) tim_ringenbach (reporter) - 2009-05-04 14:25
 http://bugs.digium.com/view.php?id=14811#c104139 
---------------------------------------------------------------------- 
Sorry, somehow I didn't notice the patch.

I didn't test the patch but looking at it, I don't think it would help
me.

I have a lot of places where in the h extension I call
Macro(handlehangup), and it's actually the macro that calls DeadAGI, which
means the extension it would see would not be h. I guess you could hack
around it and find the the real extension in that case, but what if someone
did a Goto or a Gosub? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-04 14:25 tim_ringenbach Note Added: 0104139                          
======================================================================




More information about the asterisk-bugs mailing list