[asterisk-bugs] [Asterisk 0016202]: Asterisk 1.6.0.13 Asterisk crashes when running dialplan app macro on a macro that does not exist.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Apr 5 15:44:44 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16202 
====================================================================== 
Reported By:                jsutton
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16202
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           Older 1.6.0 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-06 16:28 CST
Last Modified:              2010-04-05 15:44 CDT
====================================================================== 
Summary:                    Asterisk 1.6.0.13 Asterisk crashes when running
dialplan app macro on a macro that does not exist.
Description: 
I see this issue running 1.6.0.13 with asterisk addons 1.6.0.3 with
realtime extensions configured. This is a problem as a typo in an extension
can cause a crash. See CLI output below.

    -- Executing macro("SIP/4692538023-086383e8", "non-exist")
[Nov  6 15:13:04] WARNING[5916]: app_macro.c:239 _macro_exec: No such
context 'macro-non-exist' for macro 'non-exist'
*CLI>
Disconnected from Asterisk server
====================================================================== 

---------------------------------------------------------------------- 
 (0120143) jsutton (reporter) - 2010-04-05 15:44
 https://issues.asterisk.org/view.php?id=16202#c120143 
---------------------------------------------------------------------- 
This continues to be an issue in 1.6.2.6. See below.
-- Executing macro("SIP/vg9-00000002", "notexist,1,2")
[Apr  5 14:39:56] WARNING[14379]: app_macro.c:302 _macro_exec: No such
context 'macro-notexist' for macro 'notexist'
cn8-inverness-co*CLI>
Disconnected from Asterisk server 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-05 15:44 jsutton        Note Added: 0120143                          
======================================================================




More information about the asterisk-bugs mailing list