sbc trunking · stub
Connecting a PBX or SBC to Twilio with BYOC trunks and SIP Domains
Verified 2026-10-14 · 58 sources · tier 2–3
Also known as Twilio BYOC, Twilio Bring Your Own Carrier.
Stub. This topic has 58 sources and no published article. The sources below are everything recorded so far.
So far, no summary has been generated for this topic. The sources below are everything recorded so far.
See also
Depends on
- Twilio Programmable Voice and TwiMLstub — Queued 2026-10-14 alongside Twilio Programmable Voice and TwiML
Referenced by
- Twilio Programmable Voice and TwiMLstub — Inbound relationship; BYOC and SIP Domains route calls into TwiML applications
Sources
- 1Twilio's April 2020 BYOC launch post stated that the Twilio Super Network is used by default as a failover if all targets in the BYOC trunk's origination connection policy fail to route the call.Announcing Twilio's Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Announcement post, outbound/origination paragraph · Checked 2026-10-14
- 2Twilio's BYOC guide says IP Access Control List entries can be IP addresses or ranges in CIDR notation, and they should be the outbound SIP source addresses of the customer's border elements.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · IP Access Control Lists - Settings · Checked 2026-10-14
- 3The Twilio Calls API accepts a Byoc parameter carrying the SID (BY prefix, 34 characters) of the BYOC trunk to route the call with.Call resource · Create a Call resource > Request body parameters > Byoc · Checked 2026-10-14
- 4The Byoc parameter on the Twilio Create a Call API is marked Beta in the API reference.Call resource · Create a Call resource > Request body parameters > Byoc (Beta label) · Checked 2026-10-14
- 5The Byoc parameter on a Twilio Calls API request only takes effect when To is a phone number and is otherwise ignored.Call resource · Create a Call resource > Request body parameters > Byoc · Checked 2026-10-14
- 6A Twilio Conference Participant can be dialled out through a BYOC trunk by supplying the Byoc parameter on the Participant resource.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Making Outbound Calls to your PSTN Carrier (Origination) > Conference · Checked 2026-10-14
- 7A carrier connects to a Twilio BYOC trunk either over the public internet to a Twilio-provided FQDN or over a Private Connection to a single static IP address, and the private option requires Twilio Interconnect.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Requirements; Termination SIP Domains - Settings (Static IP Address warning) · Checked 2026-10-14
- 8According to the Twilio ByocTrunk API reference, if from_domain_sid is not configured, the From domain on originating calls defaults to sip.twilio.com.disputedByocTrunk Resource · Properties > from_domain_sid; Create parameters > FromDomainSid · Checked 2026-10-14
- 9According to the Twilio BYOC setup guide, if a BYOC trunk's From Domain is left unset, Twilio uses the first Termination SIP Domain on the trunk as the From-URI domain for outbound calls.disputedBring Your Own Carrier (BYOC) Trunking for Programmable Voice · BYOC Trunks - Overview > Trunks, From Domain · Checked 2026-10-14
- 10Twilio announced general availability of BYOC Trunking for Programmable Voice on 2020-04-30, with static IP termination offered under Limited Availability.Announcing Twilio's Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Announcement post, opening and connectivity paragraphs · Checked 2026-10-14
- 11Custom SIP headers included in INVITEs that arrive from a BYOC trunk are discarded and are not passed to the customer's webhook.Inbound - Sending SIP to Twilio · Advanced Features > SIP Custom Headers · Checked 2026-10-14
- 12Twilio recommends that carrier equipment sending to a BYOC termination domain use all of Twilio's IP addresses, move to the next IP after 4 seconds without a response to an INVITE, and fail over to another region if needed.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings, failover guidance · Checked 2026-10-14
- 13Twilio's BYOC guide warns that IP ACLs alone do not protect against certain types of attacks and strongly recommends adding credentials, in which case inbound INVITEs are challenged with a 407.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings, Authentication note; Credential Lists - Settings · Checked 2026-10-14
- 14Twilio publishes localized BYOC termination SIP URIs per region, including us1, us2, ie1, de1, sg1, jp1, br1 and au1, in the form name.sip.region.twilio.com.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings, localized Termination SIP URIs list · Checked 2026-10-14
- 15Twilio does not support credential (digest) authentication toward the carrier on BYOC origination calls, so the carrier must trust Twilio's regional signaling IP addresses.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Origination Connection Policy - Settings · Checked 2026-10-14
- 16Twilio BYOC Trunking connects a customer's existing PSTN carrier to Twilio Programmable Voice over a SIP trunk, so calls can use numbers the customer already holds with other carriers.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Bring Your Own Carrier (BYOC) Trunking for Programmable Voice (intro); Trunks · Checked 2026-10-14
- 17On a BYOC Termination SIP Domain, the Secure Media (TLS/SRTP) switch only affects termination (inbound) traffic, not origination.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings, Secure Media · Checked 2026-10-14
- 18The BYOC static IP termination option is not available when using the Twilio Regions Ireland (IE1) or Australia (AU1).Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings, Static IP Address warning · Checked 2026-10-14
- 19A Twilio BYOC Termination SIP Domain must have a domain URI and at least one authentication scheme (an IP Access Control List or a Credential List), and if both are configured both are enforced.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Termination SIP Domains - Settings · Checked 2026-10-14
- 20A Twilio BYOC trunk has two directions: termination is carrier-to-Twilio (inbound) traffic and origination is Twilio-to-carrier (outbound) traffic.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · Getting Started: Configure your BYOC Trunk · Checked 2026-10-14
- 21A Twilio BYOC trunk's settings comprise a friendly name, one or more Termination SIP Domains, an Origination Connection Policy, an application configuration for incoming calls (with optional primary-handler-fails and call-status-changes handlers), and a From Domain.Bring Your Own Carrier (BYOC) Trunking for Programmable Voice · BYOC Trunks - Overview > Trunks · Checked 2026-10-14
- 22In TwiML, an outbound call is sent through a BYOC trunk by setting the byoc attribute of <Number> inside <Dial> to the BYOC Trunk SID.TwiML Voice: <Number> · Attributes > byoc · Checked 2026-10-14
- 23BYOC trunks are managed through the Twilio Voice v1 API at https://voice.twilio.com/v1/ByocTrunks, and their SIDs start with BY.ByocTrunk Resource · Create a ByocTrunk resource (endpoint); Properties > sid · Checked 2026-10-14
- 24When cnam_lookup_enabled is true on a Twilio BYOC trunk, inbound calls from the United States and Canada automatically get a CNAM (caller ID name) lookup.ByocTrunk Resource · Properties > cnam_lookup_enabled · Checked 2026-10-14
- 25The Twilio Calls API reference states that a phone-number From must be a Twilio number or a verified outgoing caller ID for the account, and it documents no BYOC-specific exception.Call resource · Create a Call resource > Request body parameters > From · Checked 2026-10-14
- 26A Twilio Connection Policy (SID prefix NY, API base https://voice.twilio.com/v1/ConnectionPolicies) is a list of URI entries used to route origination traffic to the PSTN carrier over a BYOC trunk.ConnectionPolicy Resource · ConnectionPolicy resource description; Properties > sid · Checked 2026-10-14
- 27TwiML <Sip> accepts a region URI parameter (us1, us2, ie1, de1, sg1, jp1, br1, au1) that selects where SIP-out traffic leaves Twilio; without it, traffic is sent from North America Virginia.TwiML Voice: <Sip> · Region · Checked 2026-10-14
- 28TwiML <Sip> accepts a transport URI parameter of UDP, TCP or TLS; UDP is the default, and TLS defaults to port 5061.TwiML Voice: <Sip> · Transport · Checked 2026-10-14
- 29Twilio announced on 2026-07-02 that SIP signaling IPs for Programmable Voice SIP and Elastic SIP Trunking over Interconnect will move to 159.26.160.0/20 in the second half of 2027.Interconnect SIP Signaling IP Addresses · Changelog entry body · Checked 2026-10-14
- 30Twilio's 2027 Interconnect signaling IP migration does not affect SIP FQDNs, TLS certificates, public-internet SIP signaling IPs or media IP ranges.Interconnect SIP Signaling IP Addresses · Changelog entry, not-affected list · Checked 2026-10-14
- 31Twilio's SIP IP address page lists the media destination range as 168.86.128.0/18 on UDP ports 10000 to 60000.Elastic SIP Trunking IP addresses · Media IP addresses section · Checked 2026-10-14
- 32Twilio advises against sending SIP traffic directly to its listed IP addresses and recommends using the configured FQDN instead.Elastic SIP Trunking IP addresses · Signaling gateways introduction · Checked 2026-10-14
- 33Twilio's SIP IP address page lists signaling ports 5060 for UDP/TCP and 5061 for TLS on every regional gateway.Elastic SIP Trunking IP addresses · Signaling gateways table, Ports column · Checked 2026-10-14
- 34If the byoc attribute of TwiML <Number> is not set, the call is routed via the Twilio Super Network.TwiML Voice: <Number> · Attributes > byoc (default) · Checked 2026-10-14
- 35Twilio's US pay-as-you-go list price for BYOC trunking was $0.0040 per minute for making calls and $0.0040 per minute for receiving calls, with secure media included, as of August 2026.Programmable Voice pricing - United States · BYOC trunking pricing table · Checked 2026-10-14
- 36Twilio's US pay-as-you-go list price for the SIP interface was $0.0040 per minute to make or receive calls, $0.10 per SIP REFER from Twilio, and secure media included, as of August 2026.Programmable Voice pricing - United States · Voice pricing table, SIP interface row · Checked 2026-10-14
- 37A Twilio SIP Domain allows at most 10 active endpoint registrations per address-of-record; the 11th is rejected.SIP registration · Limits · Checked 2026-10-14
- 38For outbound SIP from Twilio, Secure Media is requested by adding secure=true to the SIP URI, which also uses TLS on port 5061 by default.Secure Media · How it works / outbound · Checked 2026-10-14
- 39Twilio Secure Media accepts AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 inbound, offers only AES_CM_128_HMAC_SHA1_80 outbound, and does not support the MKI parameter.Secure Media · Requirements / crypto suites · Checked 2026-10-14
- 40Because Twilio's guide and API reference give different defaults for a BYOC trunk's From domain, a deployment whose carrier validates the From host should set the From Domain explicitly rather than rely on either default.inferredByocTrunk Resource · Properties > from_domain_sid (read together with the BYOC guide, Trunks > From Domain) · Checked 2026-10-14
- 41Twilio's Sending SIP guide says SIP Domain IP ACL entries must be full IP addresses and that no IP wildcarding is supported.Inbound - Sending SIP to Twilio · IP Access Control Lists (ACL) · Checked 2026-10-14
- 42Twilio Programmable Voice SIP supports the G.711 mu-law (PCMU) and A-law (PCMA) codecs for media.Use SIP with Twilio Voice · Features > Media codec · Checked 2026-10-14
- 43On Programmable Voice SIP Domain calls, only custom headers beginning with X- (plus User-to-User) are passed to the webhook, as parameters prefixed SipHeader_.Inbound - Sending SIP to Twilio · Advanced Features > SIP Custom Headers; UUI (User-to-User Information) Header · Checked 2026-10-14
- 45Twilio Programmable Voice does not support the sips URI scheme; encrypted signaling uses a sip URI with transport=tls.Use SIP with Twilio Voice · Features > Securing SIP Traffic using TLS · Checked 2026-10-14
- 46TLS for Twilio Programmable Voice SIP uses port 5061, is available without extra setup, and supports only TLSv1.2 (not TLSv1.0 or 1.1).Use SIP with Twilio Voice · Features > Securing SIP Traffic using TLS > TLS Specifications · Checked 2026-10-14
- 47Sending TLS SIP traffic to a Twilio IP address instead of the SIP domain name is a common misconfiguration that causes a 403 error not visible in the Twilio account.Use SIP with Twilio Voice · Features > Securing SIP Traffic using TLS · Checked 2026-10-14
- 48A Twilio SIP Domain with no mapped authentication method (IP ACL or credential list) blocks requests sent to it.SIP Domain Resource · SIP Domain resource overview (authentication mapping note) · Checked 2026-10-14
- 49A Twilio SIP Domain is associated with a BYOC trunk through its byoc_trunk_sid property (a BY SID).SIP Domain Resource · Properties > byoc_trunk_sid · Checked 2026-10-14
- 50The emergency_caller_sid property of a Twilio SIP Domain names a phone number (PN SID) that is used as the callback number for emergency calls.SIP Domain Resource · Properties > emergency_caller_sid · Checked 2026-10-14
- 51The emergency_calling_enabled property on a Twilio SIP Domain allows emergency calls on the domain from phone numbers with validated addresses.SIP Domain Resource · Properties > emergency_calling_enabled · Checked 2026-10-14
- 52Twilio allows at most 100 SIP Domains per account or subaccount.Use SIP with Twilio Voice · What is SIP? > Limits · Checked 2026-10-14
- 53A Twilio SIP Domain name may contain letters, digits and hyphens and must end with sip.twilio.com.SIP Domain Resource · Properties > domain_name · Checked 2026-10-14
- 54When the secure property of a Twilio SIP Domain is true, TLS is enforced on incoming calls and SRTP is negotiated for media.SIP Domain Resource · Properties > secure · Checked 2026-10-14
- 55All users of one Twilio SIP Domain webhook to the same application URL; per-user routing has to be done inside that application.Inbound - Sending SIP to Twilio · Call Control Configuration · Checked 2026-10-14
- 56The Twilio SourceIpMapping resource, which describes static IPs used to receive traffic from a BYOC carrier, requires the account to have a Twilio Interconnect connection configured.SourceIpMapping Resource · SourceIpMapping resource description (requirement notice) · Checked 2026-10-14
- 57Twilio Connection Policy targets take a priority from 0 to 65535, where the lowest number is tried first, and a weight from 1 to 65535 that shares load among targets of equal priority.ConnectionPolicyTarget Resource · Properties > priority; Properties > weight · Checked 2026-10-14
- 58A Twilio Connection Policy target URI must use the sip: scheme; sips: is not supported.ConnectionPolicyTarget Resource · Properties > target · Checked 2026-10-14
Documents
tier 2 current vendor documentation
Bring Your Own Carrier (BYOC) Trunking for Programmable Voice
tier 2 current vendor documentation
ByocTrunk Resource
tier 2 current vendor documentation
Call resource
tier 2 current vendor documentation
ConnectionPolicy Resource
tier 2 current vendor documentation
ConnectionPolicyTarget Resource
tier 2 current vendor documentation
Elastic SIP Trunking IP addresses
tier 2 current vendor documentation
Inbound - Sending SIP to Twilio
tier 2 current vendor documentation
Interconnect SIP Signaling IP Addresses
tier 2 current vendor documentation
Programmable Voice pricing - United States
tier 2 current vendor documentation
Secure Media
tier 2 current vendor documentation
SIP Domain Resource
tier 2 current vendor documentation
SIP registration
tier 2 current vendor documentation
SourceIpMapping Resource
tier 2 current vendor documentation
TwiML Voice: <Number>
tier 2 current vendor documentation
TwiML Voice: <Sip>
tier 2 current vendor documentation
Use SIP with Twilio Voice
tier 3 vendor-maintained repositories
Announcing Twilio's Bring Your Own Carrier (BYOC) Trunking for Programmable Voice
Cite this page
APA
WarmTransfer. (2026, October 14). Connecting a PBX or SBC to Twilio with BYOC trunks and SIP Domains. WarmTransfer. https://warmtransfer.net/knowledge/twilio-byoc-sip-domains
BibTeX
@misc{warmtransfer-twilio-byoc-sip-domains,
title = {Connecting a PBX or SBC to Twilio with BYOC trunks and SIP Domains},
author = {{WarmTransfer}},
year = {2026},
url = {https://warmtransfer.net/knowledge/twilio-byoc-sip-domains},
note = {Verified 2026-10-14}
}