[Home]

Summary:ASTERISK-25508: Defaults cdr.conf.sample
Reporter:Rodrigo Ramirez Norambuena (roramirez)Labels:
Date Opened:2015-10-29 21:11:26Date Closed:2015-11-04 17:43:11.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:CDR/cdr_csv
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In cdr.conf.sample file if set values by  to yes for
 * usegmtime
 * loguniqueid
 * loguserfield

If follow the way other samples files this value should be commented because "no" is value by default
Comments:By: Asterisk Team (asteriskteam) 2015-10-29 21:11:27.512-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Rusty Newton (rnewton) 2015-11-04 17:43:11.963-0600

The sample files are not "default" configuration. They are samples or examples of configuration, which happen to often include comments mentioning default values. They can be a little confusing and we are in a slow process of streamlining documentation.

The cdr.conf.sample also says

{quote}
; To get CDRs to be logged to the plain-jane /var/log/asterisk/cdr-csv/Master.csv
; file, define the [csv] category in this file. No database necessary. The example
; config files are set up to provide this kind of output by default.
{quote}

That explains why the [csv] section is uncommented with non-default options.

This is unlikely to be changed at the moment. If you have a good reason to alter the sample file you can bring it up on the asterisk-dev list to discuss why you think the sample file should be different. In this case it isn't obvious why you would want to change the sample file in the particular way you have suggested.

I'm going to close this issue out, but feel free to comment and re-open the issue if you feel strongly about it or else bring up the issue on the asterisk-dev mailing list.

Thanks!