# Twilio Elastic SIP Trunking Configuration

## Introduction

This article provides you with a step-by-step Elastic SIP Trunk Configuration on Twilio. In this guide FQDN is (telcobridges.pstn.twilio.com) configured in the Twilio console. You can find more details about how to create an Elastic Trunking in Twilio from the following link [Create and Configure Trunks](https://www.twilio.com/docs/sip-trunking#configure-trunks)

## Twilio Elastic SIP Trunk Configuration

From your [Twilio Console](https://www.twilio.com/console), navigate to the [Elastic SIP Trunking](https://www.twilio.com/console/sip-trunking/dashboard) area ( or click on the [![](https://docs.telcobridges.com/w/images/thumb/3/3f/Twilio_sip_icon.png/20px-Twilio_sip_icon.png)](https://docs.telcobridges.com/wiki/File:Twilio_sip_icon.png) icon on the left vertical navigation bar)<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/5/55/Twilio_trunk.png/300px-Twilio_trunk.png" alt=""><figcaption></figcaption></figure>

### Create a new IP-ACL

Click on [Authentication](https://www.twilio.com/console/sip-trunking/authentication/ip-acls) in the left navigation, and then click on [IP Access Control Lists](https://www.twilio.com/console/sip-trunking/authentication/ip-acls).\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/8/8f/Twilio_sip_acl.png/300px-Twilio_sip_acl.png" alt=""><figcaption></figcaption></figure>

In this example, an IP-ACL is created with the name: "MyExampleACL". Add your SBCs IP addresses to the IP-ACL you create.<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/1/1a/Twilio_myexample_acl.png/800px-Twilio_myexample_acl.png" alt=""><figcaption></figcaption></figure>

### Create a new Trunk

For each geographical region desired (e.g., North America, Europe), create a new Elastic SIP Trunk.

Now click on [![](https://docs.telcobridges.com/w/images/thumb/1/1d/Twilio_trunk_icon.png/40px-Twilio_trunk_icon.png)](https://docs.telcobridges.com/wiki/File:Twilio_trunk_icon.png) again on the left vertical navigation bar, and create a new Trunk.\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/e/e8/Twilio_new_trunk.png/500px-Twilio_new_trunk.png" alt=""><figcaption></figcaption></figure>

Under the General Settings you can enable different features as desired<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/a/a0/Twilio_features.png/500px-Twilio_features.png" alt=""><figcaption></figcaption></figure>

\
\
In the Termination section, select a Termination SIP URI.\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/3/3a/Twilio_termination.png/500px-Twilio_termination.png" alt=""><figcaption></figcaption></figure>

Click on "Show localized URI's" and copy and paste this information as you will use this on your SBC to configure your Trunk.<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/6/6c/Twilio_localized.png/500px-Twilio_localized.png" alt=""><figcaption></figcaption></figure>

or Assign the IP ACL ("MyExampleACL" ) that you created in the previous step.<br>

<figure><img src="https://docs.telcobridges.com/w/images/thumb/c/cc/Twilio_authentication.png/500px-Twilio_authentication.png" alt=""><figcaption></figcaption></figure>

In the Origination section, we'll add Origination URI's to route traffic towards your TelcoBridges SBC. The recommended practice is to configure a redundant mesh per geographic region (in this context a region is one of North America, Europe, etc). In this case, we configure two Origination URIs, each egressing from a different Twilio Edge.

Click on ‘Add New Origination URI’, we'll depict the configuration for North America:

<figure><img src="https://docs.telcobridges.com/w/images/thumb/4/4c/Twilio_orgination_url.png/500px-Twilio_orgination_url.png" alt=""><figcaption></figcaption></figure>

\
\
Continue to add the other Origination URIs if desired. Origination URIs are listed as follows:

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/d6/Twilio_orgination_url_1.png/500px-Twilio_orgination_url_1.png" alt=""><figcaption></figcaption></figure>

In this example, Origination traffic is routed via Twilio’s Ashburn edge, if that fails then we'll route from Twilio’s Umatilla edge.

### Associate Phone Numbers on your Trunk

In the Numbers section of your Trunk, add the Phone Numbers that you want to associate with each Trunk. Remember to associate the Numbers from a given country in the right Trunk. For example, associate US & Canada Numbers with the North American Trunk and European Numbers with the European Trunk etc.

<figure><img src="https://docs.telcobridges.com/w/images/thumb/f/fb/Twilio_numbers.png/500px-Twilio_numbers.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/twilio-elastic-sip-trunking-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
