[asterisk-bugs] [Asterisk 0011642]: use additional mysql fields based on CDR variables

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 28 16:37:54 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11642 
====================================================================== 
Reported By:                benthos
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   11642
Category:                   Addons/cdr_addon_mysql
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.16.2 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-27-2007 12:55 CST
Last Modified:              12-28-2007 16:37 CST
====================================================================== 
Summary:                    use additional mysql fields based on CDR variables
Description: 
I wrote a small patch to be able to insert into the mysql CDR additionnal
variables that have been set using Set(CDR(variable)).
A additionalfields variable is loaded from cdr_mysql.conf with pipe
seperated additional fields to take into account.

The patch searches through the CDR variables for one of the additionnal
fields, and if present adds it to the mysql query.

====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 12-28-07 16:37  
---------------------------------------------------------------------- 
The other benefit of doing it like this is that you can remove arbitrary
fields, too. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-28-07 16:37  Corydon76      Note Added: 0076135                          
======================================================================




More information about the asterisk-bugs mailing list