[asterisk-bugs] [JIRA] (ASTERISK-30406) pbx_ael: Global variables are not expanded.

Sean Bright (JIRA) noreply at issues.asterisk.org
Thu Jan 26 14:31:03 CST 2023


Sean Bright created ASTERISK-30406:
--------------------------------------

             Summary: pbx_ael: Global variables are not expanded.
                 Key: ASTERISK-30406
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30406
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_ael
    Affects Versions: 18.16.0
            Reporter: Sean Bright


Global variables defined within AEL are not expanded. For example:

{noformat}
globals {
    Kphones=SIP/KC470IP&SIP/KSnom870
    Sphones=SIP/SYealinkT38G&SIP/SGC610IP
    Allphones=${Kphones}&${Sphones}
}
{noformat}

Will result in Allphones having the value:

{noformat}
${Kphones}&${Sphones}
{noformat}

This differs from {{pbx_config}} behavior which would expand the {{Kphones}} and {{Sphones}} variables.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list