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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 15 15:31:29 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-15 15:31 CDT
====================================================================== 
Summary:                    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.

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

---------------------------------------------------------------------- 
 (0106418) lmadsen (administrator) - 2009-06-15 15:31
 https://issues.asterisk.org/view.php?id=15330#c106418 
---------------------------------------------------------------------- 
Per Russell: acf_channel_read() in chan_sip.c needs to check for a NULL
sip_pvt pointer, and return -1 if so 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-15 15:31 lmadsen        Note Added: 0106418                          
======================================================================




More information about the asterisk-bugs mailing list