ARI or AMI — Which is better for CRM integration?

Hi everyone,

I have a CRM website that’s currently integrated with OnlinePBX — it receives all call events through webhooks in real time.

Now, I want to integrate FreePBX with my CRM in a similar way, so that every call event (incoming, outgoing, etc.) is sent to my CRM system.

What is the best approach for this — should I use ARI (Asterisk REST Interface) or AMI (Asterisk Manager Interface)?
Which one is more suitable for real-time event handling and webhook-style integration?

Thank you!

If using FreePBX, then you should investigate options of what it provides before going directly to Asterisk. For Asterisk though you can either write dialplan logic, or use AMI to monitor events. There is no built-in webhook functionality in Asterisk.

1 Like