FreePBX IVR with external API connection

Hello.

I am setting up a PBX for a company that wants an ivr which collects data from our APIs. They provide customers with tracking codes, which when entered into our API, returns the status of that specific task. I was wondering if there was a way that I could prompt the user to enter the tracking number, which then sends a request to our APIs then reads out the status information.

This may seem like a massive project, and I may have to scale it down a bit. I am a developer myself, so if I can figure out how FreePBX can work in this regard, I’ll be able to develop for it.
Thanks,
Prem

@premudeshi you should check out the Dynamic Routes module. It lets you do various kinds of queries to external things (URL, SQL, etc) and make IVR branching decisions based on the results. https://wiki.freepbx.org/display/FPG/Dynamic+Routes+Module
@lgaetz had a post with a lot more info recently: https://www.freepbx.org/powerful-call-flow-control-using-the-dynamic-routes-module/

1 Like

Might also be an approach you can use - it depends on how you want to hit the API.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.