Finally, I was able to do this XML Importer for FusionPBX. If you are a FusionPBX user, you need to know that each time you do a call, the FreeSWITCH will call a local PHP script that pushes the CDR information into the database; FusionPBX 5+ does that with a crontab, but it is the same. This piece of software will act the same way as the vanilla one that is shipped inside FusionPBX 4.1 (or better), but it adds a plugin architecture that will allow third-party integrations with the PBX. Some of the use cases I can imagine right now are:

  • Helpdesk integration: it will raise a ticket each time a call is done, later that ticket could be merged.
  • Billing integration: although I am the author of the Billing for FusionPBX (I will move the billing system to use this new importer), I know some people use another kind of software, so this will allow billing per call event.
  • CRM integration: usually CRM software is used to keep track of marketing activity. This will let you add call tracking.

So to be crystal clear, this tool will allow to import of the CDR information into third-party software. This XML importer is thought of in a plugin architecture. You will need to code specific case plugins for it. I have put a template class to help the developers to code their plugins. This template class is abstract, and it will help people to know what methods to code to succeed in building your plugin.

The big advantage of doing this way is you don't need to touch the main code, this will allow you to do cleaner upgrades when there is a new release of FusionPBX.

This software is released under the MPL license. At least the part that is published on GitHub. So, please feel free to contribute and use it.

Soon, as release one is finished, I will publish the RPM for Centos 6 and 7 and I will start deploying in the White Label Servers for my customers.

Enjoy!

";