@eddiejennings said in Twilio as a SIP provider:
Debated on making a new topic, but I figure since I enjoy playing necromancers in D&D, I'd resurrect this.
After much gnashing of teeth and the kind @JaredBusch taking the time to help verify that, in fact, you really can terminate calls with Twilio and FreePBX, I figured out the problem:
To those who play with Twilio, know that the username used for trunk authentication is case-sensitive. Though, I'm still blown away that this was even a problem, as I was copying / pasting credentials with my test; however, I confirmed that calls can be terminated and verified that the username is case-sensitive. Oh well, my pride will recover, and as a result my company will probably save an additional $10 / month on SIP service. :)
Terminating calls with FreePBX was weird to figure out, even weirder if you make sub accounts.
There is also the need to have auth but twilio doesn't want you to maintain a registration. Just auth and IP combined. In FusionPBX it was easier to figure out. Took maybe 10 mins of trial and error. I had to get developer support from Twilio.
The one cool thing is you will see in your Twilio console a bug icon at the top right light up whenever a call is denied for termination, along with a bug report that contains SIP details.