How to enable CDR-CSV logging in Asterisk 1.4.0
Starting CDR-CSV-Logging in a default installation of Asterisk 1.4.0 takes some additional steps that are neither documented nor obvious. Out of the box, Asterisk will update:
/var/log/asterisk/cdr-custom/Master.csv
but not the default CSV File:
/var/log/asterisk/cdr/Master.csv.
To start csv-logging into this file, you must edit /etc/asterisk/cdr.conf, remove the semicolon preceding [cdr] and also uncomment at least one of the following lines:
;usegmtime=yes ;log date/time in GMT
;loguniqueid=yes ;log uniqueid
,loguserfield=yes ;log user field
The parameter value is not important, it may be set to no, but it seems there must be at least one entry in the [cdr] section in order to start cdr-logging.