[asterisk-bugs] [Asterisk 0014483]: crash when calling macro with empty argument
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Feb 16 14:11:02 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14483
======================================================================
Reported By: pj
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14483
Category: Core/General
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 171528
Request Review:
======================================================================
Date Submitted: 2009-02-16 08:47 CST
Last Modified: 2009-02-16 14:11 CST
======================================================================
Summary: crash when calling macro with empty argument
Description:
this simple ael dialplan macro expecting some argument, when I call this
macro from dialplan passing empty argument to this macro, asterisk crashes
immediatelly
In my example below, RDNIS value was empty
macro volej_vmail( linka ) {
if (${MAILBOX_EXISTS(${linka})})
Voicemail(${linka});
return;
}
845/_ZXX => {
NoOP(RDNIS: ${CALLERID(rdnis)} VOLAJICI: ${CALLERID(all)});
&volej_vmail(${CALLERID(rdnis)});
}
======================================================================
----------------------------------------------------------------------
(0100192) putnopvut (administrator) - 2009-02-16 14:11
http://bugs.digium.com/view.php?id=14483#c100192
----------------------------------------------------------------------
Please attempt to use a version of trunk after revision 172741. This
appears to be the same issue as http://bugs.digium.com/view.php?id=14377.
Issue History
Date Modified Username Field Change
======================================================================
2009-02-16 14:11 putnopvut Note Added: 0100192
======================================================================
More information about the asterisk-bugs
mailing list