[asterisk-bugs] [JIRA] (ASTERISK-16790) AEL inconsistency with global vs. local variable de-quoting
Walter Doekes (JIRA)
noreply at issues.asterisk.org
Fri Jan 18 04:39:20 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-16790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Walter Doekes updated ASTERISK-16790:
-------------------------------------
Summary: AEL inconsistency with global vs. local variable de-quoting (was: Incoonsistency with global vs. local variable de-quoting)
> AEL inconsistency with global vs. local variable de-quoting
> -----------------------------------------------------------
>
> Key: ASTERISK-16790
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-16790
> Project: Asterisk
> Issue Type: Bug
> Components: PBX/pbx_ael
> Reporter: Dmitry Andrianov
> Severity: Minor
>
> in the asterisk.conf I have compat setting for
> app_set = 1.6
> Test AEL:
> globals {
> globalvar = "default";
> };
> ...
> 0004=>{
> localvar = "default";
> NoOp(${localvar});
> NoOp(${globalvar});
> };
> Dialing into 0004 gives:
> -- Executing [0004 at default:1] MSet("SIP/1003-0000000e", "localvar="default"") in new stack
> -- Executing [0004 at default:2] NoOp("SIP/1003-0000000e", "default") in new stack
> -- Executing [0004 at default:3] NoOp("SIP/1003-0000000e", " "default"") in new stack
> Clearly glovalvar was not properly de-quoted. (I would assume it was not put into $[ ] like localvar).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list