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

Alex (JIRA) noreply at issues.asterisk.org
Thu Jan 16 07:13:25 CST 2020


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

Alex commented on ASTERISK-28698:
---------------------------------

Im looking into official documentation and not found comments for CDR(...) variables
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGICommand_get+variable



> 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