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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 27 13:44:16 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14662 
====================================================================== 
Reported By:                sum
Assigned To:                
====================================================================== 
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-05-27 13:44 CDT
====================================================================== 
Summary:                    [patch] 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0105566) sum (reporter) - 2009-05-27 13:44
 https://issues.asterisk.org/view.php?id=14662#c105566 
---------------------------------------------------------------------- 
I made some test and I would like someone to point me on the right
direction to be able to check the code. 

My last test was: 

1) I made a call to a queue, while the call was waiting for an agent a set
the chanvar and hangup the call, the cdr shows correctly the value setted
(CDR(type)=test)

2) Same test but an agent answered the call, I seted both channels with
the same var as before when I hung up the value is not present at cdr

Seems to me that when merging the values of the channels to make the cdr
record, is not checking for the custom var. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 13:44 sum            Note Added: 0105566                          
======================================================================




More information about the asterisk-bugs mailing list