[asterisk-bugs] [Asterisk 0013290]: The field CDR(userfield) does not get written to the database

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 12 19:01:53 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13290 
====================================================================== 
Reported By:                falves11
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   13290
Category:                   CDR/cdr_tds
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 135068 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-11 18:53 CDT
Last Modified:              2008-08-12 19:01 CDT
====================================================================== 
Summary:                    The field CDR(userfield) does not get written to the
database
Description: 
INSERT INTO cdr (accountcode, src, dst, dcontext, clid, channel,
dstchannel, lastapp, lastdata, start, answer, [end], duration, billsec,
disposition, amaflags, uniqueid) VALUES ('72.187.243.97', '2127532626',
'19544447408', 'defaultproc', '2127532626', 'SIP/45936-007e4418',
'SIP/67.135.78.165-007fe3c8', 'Dial',
'SIP/9544447408 at 67.135.78.165,45,L(3600000)', '2008/08/11 19:57:31', null,
'2008/08/11 19:57:45', 14, 0, 'NO ANSWER', 'DOCUMENTATION',
'S225-1218499051.0')
====================================================================== 

---------------------------------------------------------------------- 
 (0091356) svnbot (reporter) - 2008-08-12 19:01
 http://bugs.digium.com/view.php?id=13290#c91356 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 137348

U   branches/1.4/cdr/cdr_tds.c

------------------------------------------------------------------------
r137348 | seanbright | 2008-08-12 19:01:51 -0500 (Tue, 12 Aug 2008) | 8
lines

Bring cdr_tds in line with the other CDR backends and have it try to store
CDR(userfield) if it is set.  The new behavior is to check for the
userfield
column on module load, and if it exists, we will store CDR(userfield) when
CDRs are written.  A similar patch already went into trunk and 1.6.0.

(closes issue http://bugs.digium.com/view.php?id=13290)
Reported by: falves11

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=137348 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-12 19:01 svnbot         Checkin                                      
2008-08-12 19:01 svnbot         Note Added: 0091356                          
======================================================================




More information about the asterisk-bugs mailing list