[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
Tue Apr 20 15:02:07 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: feedback
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-20 15:02 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
======================================================================
----------------------------------------------------------------------
(0120663) jsutton (reporter) - 2010-04-20 15:02
https://issues.asterisk.org/view.php?id=16202#c120663
----------------------------------------------------------------------
I have attached the backtrace file. Below is the corresponding console
output to the crash.
Connected to Asterisk 1.6.2.6 currently running on <removed> (pid = 9408)
Verbosity is at least 3
== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
-- Executing [7208427024 at ser-inbound:1]
GotoIf("SIP/<removed>-00000000", "1?4:2") in new stack
-- Goto (ser-inbound,7208427024,4)
-- Executing [7208427024 at ser-inbound:4] NoOp("SIP/<removed>-00000000",
"") in new stack
-- Executing [7208427024 at ser-inbound:5] Goto("SIP/<removed>-00000000",
"subscriber-numbers,7208427024,1") in new stack
-- Goto (subscriber-numbers,7208427024,1)
-- Executing macro("SIP/<removed>-00000000",
"incontact-out,+14003642678,1")
[Apr 20 13:40:51] WARNING[9544]: app_macro.c:302 _macro_exec: No such
context 'macro-incontact-out' for macro 'incontact-out'
cn8-inverness-co*CLI>
Disconnected from Asterisk server
[root@<removed> asterisk-1.6.2.6]#
Issue History
Date Modified Username Field Change
======================================================================
2010-04-20 15:02 jsutton Note Added: 0120663
======================================================================
More information about the asterisk-bugs
mailing list