Programmable Voice | Jun. 30, 2020
Twilio Edge Locations Available for Programmable Voice
This release includes support for the expansion of Twilio’s Global Infrastructure via Edge Locations which allows connectivity control into and out of Twilio’s platform. These changes will provide an improved experience bringing Twilio’s public and private connectivity closer to your application.
Note: All these changes are backward compatible and will not impact existing configurations.
Programmable Voice supports Edge Locations for connections to Twilio’s infrastructure via the Base URL in Twilio's API api.{edge}.us1.twilio.com.
Example
// eg: api.{edge}.us1.twilio.com
https://api.ashburn.us1.twilio.com/2010-04-01
Receiving SIP from Twilio using the edge parameter. To specify the geographic edge from which Twilio will send SIP-out traffic towards your communication infrastructure, you must include the edge parameter in your SIP URI.
Example
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial>
<Sip>sip:alice@example.com;edge=frankfurt</Sip>
</Dial>
</Response>
Click here to see the Edge Locations Blog Post and here for additional details on Edge Locations.