[asterisk-bugs] [Asterisk 0015330]: [patch] Using CHANNEL function from ZOMBIE channel stops Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 17 12:34:51 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15330 
====================================================================== 
Reported By:                okrief
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   15330
Category:                   Channels/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-15 07:28 CDT
Last Modified:              2009-06-17 12:34 CDT
====================================================================== 
Summary:                    [patch] Using CHANNEL function from ZOMBIE channel
stops Asterisk
Description: 
In extension.ael :
context mylocal [
_ZXXX => {
        &std-exten2(${CALLERID(num)},${EXTEN});
};

macro std-exten2 (caller,callee) {
        Dial(SIP/${callee});
        return;

        catch h {
        NoOp(Channel is ${CHANNEL});
//        NoOp(Peer is ${CHANNEL(peername)});
        }
};

Removing comment make Asterisk exit when channel name is ending with
<ZOMBIE> (after a SIP REFER, for instance).
Maybe CHANNEL function shouldn't be called at all from a ZOMBIE channel
but it shouldn't exit this way.

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

---------------------------------------------------------------------- 
 (0106562) dbrooks (manager) - 2009-06-17 12:34
 https://issues.asterisk.org/view.php?id=15330#c106562 
---------------------------------------------------------------------- 
sorry okrief, that last patch contained a typo.. I deleted it and uploaded
a new version. please use this one instead. thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-17 12:34 dbrooks        Note Added: 0106562                          
======================================================================




More information about the asterisk-bugs mailing list