I’m using Asterisk 1.8.11-cert8 , and have enabled only the basic csv type of cdr.
this is my cdr.conf file:
[general]
; Define whether or not to use CDR logging. Setting this to “no” will override
; any loading of backend CDR modules. Default is “yes”.
enable=yes
unanswered = yes
endbeforehexten=no
initiatedseconds=no
batch=no
scheduleronly=no
safeshutdown=yes
[csv]
usegmtime=yes ; log date/time in GMT. Default is "no"
loguniqueid=no ; log uniqueid. Default is "no"
loguserfield=no ; log user field. Default is "no"
accountlogs=no ; create separate log file for each account code. Default is “yes”
;[custom]
;usegmtime=yes ; log date/time in GMT. Default is “no”
;loguniqueid=yes ; log uniqueid. Default is “no”
;loguserfield=no; log user field. Default is “no”
;accountlogs=no ; create separate log file for each account code. Default is “yes”
when showing CDR status, I keep seeing “cdr-custom” although not configured:
*CLI> cdr show status
Call Detail Record (CDR) settings
Logging: Enabled
Mode: Simple
Log unanswered calls: Yes
-
Registered Backends
cdr-custom
result: no CDR’s are stored in /var/log/asterisk/cdr-csv/Master.csv
HOWEVER, when changing the cdr.conf file, by uncommenting the [custom] back-end in stead of [csv], then I do get proper CDR in /var/log/asterisk/cdr-custom/Master.csv
please advise how to get basic csv working - since this is where Asterisk GUI is looking at for the CDR view.