I work over at Bandwidth in the developer education dept. I’d be happy to help you out.
Take a look at our new documentation page at dev.bandwidth.com (look for full api reference on left for some specific code examples for things like, send text message, create call, etc…)
For more advanced tutorials, we have a good selection of functional demos at github: github.com/bandwidthexamples
Cheers!
Let me know if you need any help with anything.
Hi Dan! I thought that I had this resolved and someone would configure it for me but alas no luck. I would love to see a tutorial that shows the Bandwidth API code to send a call to a FreePBX installation and one that shows how to make one from that installation. My tinkering has not worked.
If you’re looking to programatically create or control calls between an extension on your FreePBX/Asterisk server and Bandwidth.com: use Bandwidth’s SIP Trunks for the connectivity and use the Asterisk API to create calls, etc. You can use either the AMI or the ARI: https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Command+Reference .
The SIP trunks are vastly more expensive than just using the API. I simply want to make and receive calls using only the API. Not the trunks.
It can be done. I can do it on Plivo. Plivo is using Bandwidth.com. The interface is very similar. I just can’t seem to comprehend it which is why I am looking for some guidance.