Hey Everyone, first post here although I’ve been a long time user of FreePBX. I have a question that I hope is an easy answer.
We develop custom applications and want to use some data from FreePBX but not actually write much into the system; we’d rather do it via API calls to a remote server.
Now I know at first glance people are going to probably think we’re doing this wrong, but based on our setup this is how we need to have this done. Let’s create an example:
Incoming Call > Dialplan sends API Call to http://somehost.com/api/newcall with post data about the remote caller id, time of call, DID, etc.
Think of it as pushing events vs reading from Asterisk directly. I realize writing a client to listen for asterisk events would work, but to integrate into an existing system we need for the PBX to send information during the dialplan.
Long story short, Can we post this data through the dialplan easily?
Thanks!
- Chris