[asterisk-bugs] [Asterisk 0016202]: [patch] 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
Tue May 4 19:25:54 CDT 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16202 
====================================================================== 
Reported By:                jsutton
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16202
Category:                   Applications/app_macro
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1319 
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-05-04 19:25 CDT
====================================================================== 
Summary:                    [patch] 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
====================================================================== 

---------------------------------------------------------------------- 
 (0121393) tilghman (administrator) - 2010-05-04 19:25
 https://issues.asterisk.org/view.php?id=16202#c121393 
---------------------------------------------------------------------- 
Issue has been reproduced, and this patch fixes it for me.  Does it also
fix the problem for you?  Please test and report back. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-04 19:25 tilghman       Note Added: 0121393                          
2010-05-04 19:25 tilghman       Status                   acknowledged => ready
for testing
======================================================================




More information about the asterisk-bugs mailing list