FreePBX IVR with external API connection

endpoint
freepbx
Tags: #<Tag:0x00007f24c68f4430> #<Tag:0x00007f24c68fbfa0>

(Premudeshi) #1

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


(Greg Blumenthal) #2

@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/


(Dave Burgess) #3

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


(system) closed #4

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