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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 8 10:57:19 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-08 10:57 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.


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

---------------------------------------------------------------------- 
 (0102909) hoaianh (reporter) - 2009-04-08 10:57
 http://bugs.digium.com/view.php?id=14811#c102909 
---------------------------------------------------------------------- 
Hi,

I'm not sure of the predetermined behaviour of Asterisk in processing
calls bridged together.

But studying the debug outputs (see posted files)I can make out a
difference in the way Asterisk processes between 1.4.19.2 and 1.4.24
namely:
- In 1.4.19.2 if two channels are bridged together, Asterisk calls
SoftHangup() internally on both legs BEFORE it jumps to h extension.
- In 1.4.24 if two channels are bridged together, Asterisk calls
SoftHangup() first on the channel which sends HANGUP then jump to h
extension and then calls SoftHangup() on the other channel. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-08 10:57 hoaianh        Note Added: 0102909                          
======================================================================




More information about the asterisk-bugs mailing list