[asterisk-bugs] [JIRA] (ASTERISK-28698) func_cdr: Getting CDR variables always returns success with a string

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:all-tabpanel ]

Joshua C. Colp updated ASTERISK-28698:
--------------------------------------

    Summary: func_cdr: Getting CDR variables always returns success with a string  (was: agi: GET VARIABLE return result=1 for non existent CDR variables)

> func_cdr: Getting CDR variables always returns success with a string
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-28698
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28698
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_cdr
>    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