[Home]

Summary:ASTERISK-16127: no cdr records if no cdr.conf since 1.6.2 branch
Reporter:Walter Doekes (wdoekes)Labels:
Date Opened:2010-05-21 09:37:40Date Closed:2010-06-03 13:54:21
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.
Comments:By: Paul Belanger (pabelanger) 2010-05-24 14:49:51

Agree, some information in UPGRADE-1.6.txt and CHANGES would be helpful.

By: Leif Madsen (lmadsen) 2010-05-25 13:11:33

Also agreed. At the very least UPGRADE.txt and/or CHANGES should state this, or that change should be reverted.

By: Leif Madsen (lmadsen) 2010-06-03 11:32:21

Agreed on updating the documentation. That will be the solution to this issue. Thanks for the report!

By: Digium Subversion (svnbot) 2010-06-03 13:53:24

Repository: asterisk
Revision: 267624

U   trunk/CHANGES
U   trunk/UPGRADE.txt

------------------------------------------------------------------------
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 ASTERISK-16127)
Reported by: wdoekes
Tested by: pabelanger
------------------------------------------------------------------------

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

By: Digium Subversion (svnbot) 2010-06-03 13:54:21

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 ASTERISK-16127)
 Reported by: wdoekes
 Tested by: pabelanger
........

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

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