[asterisk-bugs] [Asterisk 0014662]: SetVar from Cli or AMI not showing value on CDR Record

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 21 15:27:51 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14662 
====================================================================== 
Reported By:                sum
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14662
Category:                   CDR/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.0.6 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-13 09:52 CDT
Last Modified:              2009-04-21 15:27 CDT
====================================================================== 
Summary:                    SetVar from Cli or AMI not showing value on CDR
Record
Description: 
Setting a value of CDR like:

CDR(userfield) or a custom variable CDR(test) are not shown on cdr record
(MySQL Backend), when you check channel variables these looks ok, but at
the moment of hangup and check CDR record there is nothing there.

If I set te variable from the Dialplan works fine.
====================================================================== 

---------------------------------------------------------------------- 
 (0103557) sum (reporter) - 2009-04-21 15:27
 http://bugs.digium.com/view.php?id=14662#c103557 
---------------------------------------------------------------------- 
I'm not using cdr_custo just cdr_mysql, when I do something like this:

core set chanvar SIP/chan-1234abc CDR(type) type

and I check the channels variables I can see the CDR(type) value setted,
but when I hangup is not shown on Mysql table.

So for what you are saying is ok that on cdr_csv the custom variable isn't
there for that cases exists the cdr_custom, but this issue seems to be on
cdr_mysql then, cause the variable is shown on channel variables if I check
them from the cli.
Let me know if you need any particular test. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-21 15:27 sum            Note Added: 0103557                          
======================================================================




More information about the asterisk-bugs mailing list