Asterisk Logs

No documentation availabe. You can help by contributing to this book pate.

Taxonomy upgrade extras: 


Kerey's picture

After carefully reading questions and answers regarding how to delete the call log files, I successfully deleted the contents of the
Master.csv files contained in the directories named: /var/log/asterisk/cdr-custom and /var/log/asterisk/cdr-csv. When we
review the Reports -Call Logs- via the FreePBX GUI, the data is still visible. We are attempting to clean the call logs up for accurate reporting
considering that our Server is configured and moved into production. Can anyone shed some light on this and assist?



fskrotzki's picture

there are two places the call logs are stored. You found one which is the logs as they are exported in /var/log/asterisk/cdr-*, the second place which is where you can't find is in the mysql databases. There is a call log table that contains those entries that you see displayed via the GUI interface. You'll find it in database asteriskcdrdb, called cdr

If you installed phpmyadmin you can browse via the GUI to it and delete the records you want.