[asterisk-bugs] [JIRA] (ASTERISK-22959) ARI /asterisk/getGlobalVar doesn't execute functions

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Dec 10 19:25:03 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-22959:
------------------------------------

    Component/s: Resources/res_ari
    
> ARI /asterisk/getGlobalVar doesn't execute functions
> ----------------------------------------------------
>
>                 Key: ASTERISK-22959
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22959
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 12.0.0-beta2
>            Reporter: David M. Lee
>
> h2. Steps to reproduce
> # Configure ARI and AMI
> # Run AMI {{GetVar}} for a global function
> # Run ARI {{GET /ari/asterisk/variable}} for a global function
> h2. Expected results
> Should return the same results.
> h2. Actual results
> ARI returns an empty string instead of the results of the function.
> AMI:
> {code}
> action: GetVar
> variable: BASE64_ENCODE(hi)
> Response: Success
> Variable: BASE64_ENCODE(hi)
> Value: aGk=
> {code}
> ARI:
> {code}
> curl 'http://localhost:8088/ari/asterisk/variable?varible="BASE64_ENCODE(hi)"&api_key=ari:ari'
> {"value":""}
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list