Hi John,

It depends how the CDR's are stored.

If it is /mnt/kd/cdr-csv/Master.csv or /mnt/kd/cdr-custom/Master.csv files, 
then these are simple text files, one CDR per line.  Use standard UNIX tools, 
like 'sed' to remove the lines you don't want anymore.  You may want to stop 
asterisk while doing such things.

If you are using SQL (ex. /mnt/kd/cdr-sqlite3/cdr-odbc.sqlite3) ... probably 
just leave them alone :-) or some SQL command via the 'sqlite3' CLI tool.

Lonnie





> On Jul 21, 2020, at 4:32 PM, John Novack SCII_U <jnov...@comcast.net> wrote:
> 
> 
> I have a user who would like to remove older CDR records. No need to save or 
> backup, he just seems uncomfortable to keep records from 3-4 years ago
> 
> Any simple way to do that?
> 
> John Novack
> 
> -- 
> Dog is my Co-Pilot
> 
> 
> 
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 



_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to