CDR / Call Log Disk Management

Status
Not open for further replies.

amir_

Premier Customer
Joined
Aug 7, 2020
Messages
185
Reaction score
46
Is there a way in the management console to put a time limit on CDR or Call Logs so that they will be deleted or archived ? I'm trying to think of all the ways, within the management console, that we can avoid disk exhaution:

1. Voicemail - we can put a size quota on each extension
2. Recordings - we can archive them to cold storage
3. Backups - we can archive them to cold storage

The only thing that I don't see any way to automate are the size of the CDRs or call logs. Am I missing something?

Amir
 
This is because once the CDRs are created, 3CX doesn't care about them so it doesn't need to touch them or see them, or be informed of any manipulation of them. So you can handle them anyway you want at the OS level.
 
  • Like
Reactions: ChrisC_3CX
Hey @amir_

You could also check your logging level and set it to a lower level or turn it off completely. Check if you have downloaded additional prompt sets you are not using and delete them under Settings >> System Prompts. Regarding call logs you can't automatically delete old ones but you can manually delete them for a specific time range in Reports >> Settings.

You might also want to check this doc for more info that might be useful: https://www.3cx.com/docs/manual/pbx-management/#h.x3dbdauqw0m7
 
  • Like
Reactions: amir_
I come from a Cisco IPT background. For clients in busy environments, 3CX needs to implement the ability to configure a retention policy for CDRs records - just as it does other processes that could result in disk exhaustion like Recordings and Backups. Why have that built in for other processes that result in growing disk space utilization but NOT for CDRs?
 
I think because environment where this would be an issue are typically doing some sort of CDR manipulation outside the instance rendering this mostly unnecessary. And it's trivial to set something up to handle this outside of 3CX. But I agree for consistency sake it wouldn't be a bad idea to add this.
 
What you could do is set a size limit for the CDR file and, every now and then just delete the older cdr logs from the logs directory.

Note: When a CDR log reaches its size limit, a new file is created.

I understand you are looking for a feature to automate this and that would let you specify the retention period but the above is probably the easiest and simplest way to manage them with the current version.

I do recommend having a look in the Ideas section to check if maybe someone else recommended this feature already. Alternatively, you could contact your 3CX Partner to post it for you.
 
Amir,

Our 3CX Exporter tool can process all the CDR files and archive the data into SQL Server. By default, we rename the CDR file extension to ".processed" so you know which files have been processed. We can also delete processed files immediately, or create a delete policy to remove old processed files.
 
  • Like
Reactions: amir_
Thanks for that update Matthew!
 
Status
Not open for further replies.