Using Flowroute as your Inbound carrier with Twilio Programmable Voice features is quick to set up; follow the steps below to start leveraging the HyperNetwork with Twilio Programmable Voice.
- Login to your Twilio account and go to Programmable Voice > SIP Domains
- Click IP Access Control Lists on the left under SIP Domains
- Add a new list and include the following IPs
Point of Presence (PoP) SIP Proxy IP Range ------ ------ UNITED STATES ------ US-West-OR us-west-or.sip.flowroute.com 188.8.131.52/28 US-East-VA us-east-va.sip.flowroute.com 184.108.40.206/28 ------ ------ ASIA PACIFIC ------ AP-East-HK ap-east-hk.sip.flowroute.com
AP-Southeast-SIN ap-southeast-sin.sip.flowroute.com 220.127.116.11/30 ------ ------ EMEA ------ EU-West-LDN eu-west-ldn.sip.flowroute.com 18.104.22.168/30 EU-Central-FRA eu-central-fra.sip.flowroute.com 22.214.171.124/30 ------ ------ LATAM ------ SA-East-SP sa-east-sp.sip.flowroute.com 126.96.36.199/30
- If you’re using any additional or alternate IPs from Flowroute, include those as well.
- Give the IP ACL group a memorable name and click ’Save’ at the bottom
- Go to ‘SIP Domains’ on the left and click the (+) to add a SIP domain
- Give the domain friendly name, a SIP URI (which you’ll need later), and fill in the callback information for your application
- Under “Voice Authentication”, make sure to add the IP ACL we created earlier
- Make sure there is no Credential List under ‘Credential Lists’
- Leave ‘SIP Registration’ disabled
- Your domain should resemble the image below; once done, hit ‘Save’ at the bottom. [click the image for a larger version]
- Log into your Flowroute manage account and go to 'Interconnection' on the left, followed by 'Inbound Routes' at the top.
- Under 'Add New Route', add a memorable alias for 'Alias for Route', use the dropdown that reads 'Host' to change the route to 'URI', and in 'Enter SIP URI', put in the SIP URI from your Twilio SIP domain, adding a 'sip:' at the beginning, and a 'user' followed by an @ symbol.
- Hit to save the new route; it should appear now in your list of inbound routes:
- [click image for a larger version]
- Finally, we need to start routing DIDs to this URI; go to 'DIDs' on the left, check the boxes next to the DIDs you'd like to route to your Twilio gateway using this URI, and click 'Choose a DID Action' at the top
- Choose 'Set Route', then click the orange 'Apply Action' button to the right
- Click the 'Search for a route...' box on the next page and a dropdown containing all your inbound routes will appear. If you have a large number of routes, you can type a few letters of the route or alias to filter for it. Once you've found the route with this URI and selected it, click the green 'Set Route' button in the lower right.
Congrats! Your inbound calls on the DIDs you chose are now routing to your Twilio SIP Domain for use with your Twilio applications.