What you will really need in the mix is a Session Border Controller.
We've deployed Twilio as a backup, outbound trunking solution for our campus. We also point some of our inbound 800 numbers into our system via Twilio trunks.
Pretty much, you create a trunk from ASM to your SBC, then your SBC to Twilio. The SBC will help normalize some things that Twilio expects to be there (like the proper domain, etc.). The SBC can also do authentication to the Twilio trunks (although, that is not required, since you can authenticate by IP address). ASM has no ability to do outbound authentication or registration of trunks. It's simply a SIP router and can't do those functions -- that is really the job of an SBC. Additionally, it's super easy to load outbound and inbound certificates on the SBC so things actually are secure across the internet.
BTW, you should always put an SBC between anything on the internet and your ASMs. ASMs are great devices, but they have a very limited ability to prevent attacks, bad actors, repeated login attempts, etc. An SBC is a voice firewall and will help keep things more sane.
-Nick
------------------------------
Nick Kwiatkowski
Director of Design and Engineering
Michigan State University
East Lansing MI
------------------------------
Original Message:
Sent: 03-02-2021 08:40 PM
From: Alan Williford
Subject: SIP trunks with Twilio
Wanted to bring this back up... I am trying to connect me SM to Twilio. I am doing the paper exercise, before I build anything...
I know Twilio and SM need to contact each other, via the internet. which means FW from SM to twilio.com (in general).
I will need the Twilio Cert for TLS, I built the Twilio Elastic SIP Trunk. I created the ACL for my SM but had to create a login, which is confusing but I could not get the trunk built without it. I cannot get anyone at Twilio to confirm if I really need the login or not.
The one thing I cannot figure out, is how to get SM to respond to the Proxy Auth Request from Twilio... or if it will.
thoughts??
------------------------------
Alan Williford
Voice Technician
Liberty Mutual
Original Message:
Sent: 02-27-2018 11:33 AM
From: Dustin Fails
Subject: SIP trunks with Twilio
Anyone using Twilio for SIP services with Avaya SBCs? What has been your experience with them as a carrier?