> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/configuration-details/configuration-by-use-case/sip-trunking-configuration/sip-trunk-configuration-instruction-with-twilio-elastic-trunking.md).

# SIP Trunk Configuration Instruction with Twilio Elastic trunking

## Introduction

This article provides you with a step-by-step SIP Trunk Configuration of ProSBC with Twilio Elastic Trunking, using the Web Portal configuration tool. Complete the general installation configuration steps, before you begin configuring your specific scenario. 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 Example

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

**Configuration Steps**

| <p>(Step 1)<br>Create IP Network</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | <p>(Step 2)<br>Create Protocol Stack</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | <p>(Step 3)<br>Create Call Route</p>                                                                                                                              |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <ul><li><a href="/configuration-details/configuration-by-web-portal-category/ip-network-settings/configuring-a-virtual-port.md">Configuring an IP Virtual Port</a></li><li><a href="/configuration-details/configuration-by-web-portal-category/ip-network-settings/configuring-a-vlan.md">Configuring a VLAN</a></li><li><a href="/configuration-details/configuration-by-web-portal-category/ip-network-settings/configuring-ip-interfaces.md">Configuring IP Interfaces</a></li><li><a href="/configuration-details/configuration-by-use-case/rtp-no-anchoring/parameter-allow-low-delay-media-relay/configuring-an-ip-port-range.md">Create an IP port range</a></li></ul> | <ul><li><a href="/configuration-details/configuration-by-use-case/rtp-no-anchoring/parameter-allow-low-delay-media-relay/configuring-an-ip-port-range.md">Create an IP port range</a></li><li><a href="/configuration-details/configuration-by-web-portal-category/sip/creating-a-sip-stack.md">Create a SIP stack</a></li><li><a href="/configuration-details/configuration-by-web-portal-category/sip/creating-a-sip-transport-server.md">Create a SIP transport server</a></li><li><a href="/configuration-details/configuration-by-use-case/rtp-no-anchoring/creating-profiles.md">Modify profile</a></li><li><a href="/configuration-details/configuration-by-web-portal-category/network-access-points-nap.md">Allocate a SIP NAP</a></li></ul> | <ul><li><a href="/configuration-details/configuration-by-web-portal-category/call-routing/creating-a-first-call-route.md">Create a first call route</a></li></ul> |

## NAP Configuration for Twilio Elastic Trunking

* See [Create SIP NAP](/configuration-details/configuration-by-web-portal-category/network-access-points-nap.md)

In this example, we will use telcobridges.pstn.twilio.com trunk information

<figure><img src="https://docs.telcobridges.com/w/images/2/2d/Twilio_nap.png" alt=""><figcaption></figcaption></figure>

NOTE: Connection to Twilio Elastic SIP Trunking is available in multiple geographic edge locations. If you wish to manually connect to a specific geographic edge location that is closest to the location of your communications infrastructure, you may do so by pointing your communications infrastructure to any of the following localized Termination SIP URIs:

* {example}.pstn.ashburn.twilio.com (North America Virginia)
* {example}.pstn.umatilla.twilio.com (North America Oregon)
* {example}.pstn.dublin.twilio.com (Europe Ireland)
* {example}.pstn.frankfurt.twilio.com (Europe Frankfurt)
* {example}.pstn.singapore.twilio.com (Asia Pacific Singapore)
* {example}.pstn.tokyo.twilio.com (Asia Pacific Tokyo)
* {example}.pstn.sao-paulo.twilio.com (South America São Paulo)
* {example}.pstn.sydney.twilio.com (Asia Pacific Sydney)

[Click here for more information on Twilio Elastic SIP Trunking IP Addresses](https://www.twilio.com/docs/sip-trunking/ip-addresses)

* [Name](/configuration-details/configuration-parameters-all.md#parameter-name)
* [Default Profile](/configuration-details/configuration-parameters-all.md#parameter-default-profile)
* [Proxy Address](/configuration-details/configuration-parameters-all.md#parameter-proxy-address)
* [Proxy Port Type](/configuration-details/configuration-parameters-all.md#parameter-proxy-port-type)
* [Proxy Port](/configuration-details/configuration-parameters-all.md#parameter-proxy-port)
* [Poll Remote Proxy](/configuration-details/configuration-parameters-all.md#parameter-poll-remote-proxy)
* [Accept only authorized users](/configuration-details/configuration-parameters-all.md#parameter-accept-only-authorized-users)

## Route Configuration for Twilio Elastic Trunking

* See [Create a first call route](/configuration-details/configuration-by-web-portal-category/call-routing/creating-a-first-call-route.md)

In this example, we will create an outgoing and incoming routes for Twilio Elastic Trunk

### Route for outgoing to Twilio

<figure><img src="https://docs.telcobridges.com/w/images/5/5b/Route_2_twilio.png" alt=""><figcaption></figcaption></figure>

### Route for incoming from Twilio

<figure><img src="https://docs.telcobridges.com/w/images/c/c3/Route_from_twilio.png" alt=""><figcaption></figcaption></figure>

### List of Parameters

* [Name](/configuration-details/configuration-parameters-all.md#parameter-name)
* [Routeset Name](/configuration-details/configuration-parameters-all.md#parameter-routeset-name)
* [Called](/configuration-details/configuration-parameters-all.md#parameter-called)
* [Calling](/configuration-details/configuration-parameters-all.md#parameter-calling)
* [NAP](/configuration-details/configuration-parameters-all.md#parameter-nap)
* [Remapped Called](/configuration-details/configuration-parameters-all.md#parameter-remapped-called)
* [Remapped Calling](/configuration-details/configuration-parameters-all.md#parameter-remapped-calling)
* [Remapped NAP](/configuration-details/configuration-parameters-all.md#parameter-remapped-nap)
* [Source call leg remapped Profile](/configuration-details/configuration-parameters-all.md#parameter-source-call-leg-remapped-profile)
* [Destination call leg remapped Profile](/configuration-details/configuration-parameters-all.md#parameter-destination-call-leg-remapped-profile)

Custom Parameters

* [prio (or priority)](/configuration-details/configuration-parameters-all.md#parameter-prio)
* [additonal\_naps](/configuration-details/configuration-parameters-all.md#parameter-additonal-naps)
* [domain](/configuration-details/configuration-parameters-all.md#parameter-domain)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
