Asterisk config cdr.conf

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:

but not the default CSV File:

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.
Created by: pmt, Last modification: Wed 04 of Jun, 2008 (13:13 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+