Need a master.csv to enable logging.
nano /etc/asterisk/cdr_custom.conf
uncomment [mappings]
uncomment Master.csv
save
In asterisk console
cdr show status
localhost*CLI> cdr show status
Call Detail Record (CDR) settings
———————————-
Logging: Enabled
Mode: Simple
Log unanswered calls: No
Log congestion: No
* Registered Backends
——————-
cdr-custom
localhost*CLI>
Need to configure the cdr-custom field
cd /var/log/asterisk/
ls
cd cdr-csv/
ls
would see master.csv
cd ..
cd cdr-custom