Upgrade 3CX to v18 and get it hosted free!

Asterisk config cdr.conf

Author image

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.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.