API for CDRs

Hi,

I’d like to see if there are API’s available on FreePBX to extract the CDRs and display them in our CRM.

Does anyone have any information on this please?

Thank you

Easiest way is to use mysql to query the database asteriskcdrdb.