[asterisk-bugs] [Asterisk 0011329]: AEL macro argument variables aren't properly quoted when set

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Nov 27 15:43:35 CST 2007


The following issue requires your FEEDBACK. 
====================================================================== 
http://bugs.digium.com/view.php?id=11329 
====================================================================== 
Reported By:                rain
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   11329
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.14  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-20-2007 15:40 CST
Last Modified:              11-27-2007 15:43 CST
====================================================================== 
Summary:                    AEL macro argument variables aren't properly quoted
when set
Description: 
When the dialplan code is generated to set a macro's variables, the
argument data isn't properly escaped, causing the loss of any quoting in
the macro.  For example, if the macro in the 'additional information' field
was called like so:

&foo(abc "def" geh);

...the following message would be logged:

I got [abc def geh] but I want it to look like [abc "def" geh]

The easiest fix is probably to wrap ${ARGn} inside a ${QUOTE()} in the
generated dialplan code.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-27-07 15:43  murf           Status                   assigned => feedback
======================================================================




More information about the asterisk-bugs mailing list