FreePBX Rest API to get information from Database

Hello Dears,

I am trying to integrate my FreeBPX with another server to check the balance of the users, thus when a user press 1 on the IVR, the IVR system will send a GET request to an API endpoint and will retrieve the user’s Balance and Expiry.

I searched a lot, but was not able to find a solution for it.

Your support is highly appreciated.

Thanks & Kind Regards,
Danar

https://wiki.asterisk.org/wiki/display/AST/Asterisk+16+Function_CURL

Depending on how complex the API call is, you can probably retrieve the data using Dynamic Routes.

(Sorry for hijacking this thread)

Happy cake day, Lorne!

2 Likes

Probably more than one candle though :wink:

There would be 10 candles on a base 14 numbering system.

1 Like

in a base 2 system you are definitely odd :slight_smile:

Thank you very much for your support. this is exactly what I was looking for. even though it is much more complex compared to UCCX, but still it will do the work nicely.

Dear Igaetz,

Thank you for your input. the API request is pretty simple. only retrieving some dates and some balance. but the issue is that my version is 15 and don’t want to upgrade in the meantime. otherwise dynamic routes might be much easier to deploy.

Thank you again for your support.

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