[asterisk-bugs] [JIRA] (ASTERISK-28698) agi: GET VARIABLE return result=1 for non existent CDR variables

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu Jan 16 07:06:25 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249424#comment-249424 ] 

Joshua C. Colp commented on ASTERISK-28698:
-------------------------------------------

Looking at the history it's been this way since 12.0.0 was released over 6 years ago.

> agi: GET VARIABLE return result=1 for non existent CDR variables
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-28698
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28698
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: 13.30.0
>            Reporter: Alex
>            Severity: Minor
>
> GET VARIABLE on Asterisk 13 return result=1 and empty value for non existent CDR variables. 
> > AGI Rx << GET VARIABLE "CDR(blablabla)"
> > AGI Tx >> 200 result=1 ()
> > AGI Rx << GET VARIABLE "blablabla"
> > AGI Tx >> 200 result=0
> Asterisk 11.x is not affected for this bug
> > AGI Rx << GET VARIABLE "CDR(blablabla)"
> > AGI Tx >> 200 result=0
> > AGI Rx << GET VARIABLE "blablabla"
> > AGI Tx >> 200 result=0



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



More information about the asterisk-bugs mailing list