Hi,
SSH to the server.
mysql -p
(enter)
use asteriskcdrdb;
DELETE from cdr WHERE calldate < ‘2018-12-31 00:00:00’;
In the example above any CDR before 2019 will be deleted. Change the date to whatever date you would like to use.
Hi,
SSH to the server.
mysql -p
(enter)
use asteriskcdrdb;
DELETE from cdr WHERE calldate < ‘2018-12-31 00:00:00’;
In the example above any CDR before 2019 will be deleted. Change the date to whatever date you would like to use.