Menu

Expand
Rate this page:

IP Addresses for Elastic SIP Trunking Services

Updated Migration Schedule: On 23 January 2024 Twilio will be updating the media IPs and port ranges for SIP calls in all regions to 168.86.128.0/18 and expanding the UDP port range to 10000-60000. Old IP and port ranges will no longer accept or send traffic after this date. Before this new migration date, we'll perform two days of testing with limited traffic. Learn more.

You MUST allow ALL of Twilio's following IP address ranges and ports on your firewall for SIP signaling and RTP media traffic. This is important if you have Numbers in different edge locations and for resiliency purposes (e.g. if North America Virginia gateways are down, then North America Oregon gateways will be used). Twilio does not guarantee which edge location the media will egress from, without using the edge parameter since it can depend on which PSTN-SIP Gateway delivers the call to which Twilio edge location.

For more information, check out the Twilio Voice Media IP Expansion Security FAQ page.

Global Media IPs (Migration beginning 5 December 2023, migration complete 23 January 2024):
    168.86.128.0/18
    Port Range: 10,000 to 60,000 (UDP)
Regional Media IPs (To be decommissioned 23 January 2024):
North America Virginia Gateways:

Signaling IPs:

    54.172.60.0/30 which translates to:
    54.172.60.0
    54.172.60.1
    54.172.60.2
    54.172.60.3
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.172.60.0/23
    34.203.250.0/23 
    Port Range: 10,000 to 20,000 (UDP)
North America Oregon Gateways:

Signaling IPs:

    54.244.51.0/30 which translates to:
    54.244.51.0
    54.244.51.1
    54.244.51.2
    54.244.51.3
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.244.51.0/24
    Port Range: 10,000 to 20,000 (UDP)
Europe Ireland Gateways:

Signaling IPs:

    54.171.127.192/30 which translates to:
    54.171.127.192
    54.171.127.193
    54.171.127.194
    54.171.127.195
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.171.127.192/26
    52.215.127.0/24
    Port Range: 10,000 to 20,000 (UDP) 
Europe Frankfurt Gateways:

Signaling IPs:

    35.156.191.128/30 which translates to:
    35.156.191.128
    35.156.191.129
    35.156.191.130
    35.156.191.131
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    35.156.191.128/25 
    3.122.181.0/24
    Port Range: 10,000 to 20,000 (UDP) 
Asia-Pacific Tokyo Gateways:

Signaling IPs:

    54.65.63.192/30 which translates to:
    54.65.63.192
    54.65.63.193
    54.65.63.194
    54.65.63.195
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.65.63.192/26
    3.112.80.0/24
    Port Range: 10,000 to 20,000 (UDP)
Asia-Pacific Singapore Gateways:

Signaling IPs:

    54.169.127.128/30 which translates to:
    54.169.127.128
    54.169.127.129
    54.169.127.130
    54.169.127.131
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.169.127.128/26
    3.1.77.0/24
    Port Range: 10,000 to 20,000 (UDP)
Asia-Pacific Sydney Gateways:

Signaling IPs:

    54.252.254.64/30 which translates to:
    54.252.254.64
    54.252.254.65
    54.252.254.66
    54.252.254.67
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    54.252.254.64/26
    3.104.90.0/24
    Port Range: 10,000 to 20,000 (UDP)
South America São Paulo Gateways:

Signaling IPs:

    177.71.206.192/30 which translates to: 
    177.71.206.192
    177.71.206.193
    177.71.206.194
    177.71.206.195
    Ports: 5060 (UDP/TCP), 5061 (TLS)

Media IPs (will be removed 23 January 2024):

    177.71.206.192/26
    18.228.249.0/24
    Port Range: 10,000 to 20,000 (UDP)
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif