FreePBX/cdr ? reverse-engineered prompt

Reverse engineered prompt

Build me the CDR Reports part of a FreePBX module so an admin can easily view and search call records from the phone system.

I want a simple page that lists calls, lets me filter by date range, extension, destination, caller, and call direction, and opens a detail view for each call. If a recording exists, I want to be able to play it back from the report page. It should feel like a normal FreePBX screen, with a clean table, useful search, and a way to sort and review older calls quickly.

If it makes sense, also include the pieces needed for API access, a user facing view in the control panel, and basic backup and restore support so the module can be moved between systems without breaking. Please keep it compatible with the way FreePBX modules are usually built, and look up current FreePBX docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab