[asterisk-bugs] [Asterisk 0017373]: no cdr records if no cdr.conf since 1.6.2 branch

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 3 13:54:21 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17373 
====================================================================== 
Reported By:                wdoekes
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   17373
Category:                   Documentation
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.2.8-rc1 
JIRA:                       SWP-1524 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-21 09:37 CDT
Last Modified:              2010-06-03 13:54 CDT
====================================================================== 
Summary:                    no cdr records if no cdr.conf since 1.6.2 branch
Description: 
Hi there,

I've upgraded to the 1.6.2 branch from 1.6.1 a little while ago and first
now I realise I'm missing a couple of CDR records in my cdr_odbc backend.

The cause: in 1.6.2 in main/cdr.c a new check is added.

(in do_reload)
if (config == CONFIG_STATUS_FILEMISSING || config ==
CONFIG_STATUS_FILEUNCHANGED || config == CONFIG_STATUS_FILEINVALID) {
  return 0;
}

In 1.6.1 Logging was Enabled without a cdr.conf, in 1.6.2 it is Disabled.

(I'm guessing you'll be marking this as WONTFIX as it is probably
documented somewhere that you need a cdr.conf. I hope this report is useful
to someone though.)

Regards,
Walter Doekes
OSSO B.V.
====================================================================== 

---------------------------------------------------------------------- 
 (0122913) svnbot (reporter) - 2010-06-03 13:54
 https://issues.asterisk.org/view.php?id=17373#c122913 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 267625

_U  branches/1.6.2/
U   branches/1.6.2/CHANGES
U   branches/1.6.2/UPGRADE.txt

------------------------------------------------------------------------
r267625 | lmadsen | 2010-06-03 13:54:21 -0500 (Thu, 03 Jun 2010) | 15
lines

Merged revisions 267624 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r267624 | lmadsen | 2010-06-03 13:53:24 -0500 (Thu, 03 Jun 2010) | 7
lines
  
  Update UPGRADE.txt and CHANGE for CDR functionality changes.
  Updated the UPGRADE.txt and CHANGES file stating that CDR records will
not be explicity
  written unless cdr.conf exists and is configured.
  
  (closes issue https://issues.asterisk.org/view.php?id=17373)
  Reported by: wdoekes
  Tested by: pabelanger
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-03 13:54 svnbot         Checkin                                      
2010-06-03 13:54 svnbot         Note Added: 0122913                          
======================================================================




More information about the asterisk-bugs mailing list