How to partition cdr table?

anybody knows how to partition cdr table by date like this.


thanks a lot~

That’s not a table that is multiple tables in a database. How that was achieved is dependent of the person in charge of that database or application being used. Asterisk does not do this and nor does FreePBX.

If you want to have daily CDR tables, you would need to write a method to create them and then get the data from the main CDR table for the day you want and push into the daily table.

1 Like