Configuring your Twilio Trunk With Vodia PBX

Published on:

October 8, 2020

How to configure your Twilio trunk with the Vodia phone system.

Log into your Twilio account to start.

Termination URI

  1. Under Elastic SIP trunking create a trunk name under general, to name your trunk.
  2. Next is Termination, create a termination SIP URI,
  3. Name the  Termination SIP URI for example (mycompany) this SIP URI will be used for the outbound proxy of the trunk.

Twilio also has localized Termination URI, You can use this based on your location, so with your newly created SIP URI you can also use mycompany etc.

  • {example} (North America Virginia)
  • {example} (North America Oregon)
  • {example} (Europe Ireland)
  • {example} (Europe Frankfurt)
  • {example} (Asia Pacific Singapore)
  • {example} (Asia Pacific Tokyo)
  • {example} (South America São Paulo)
  • {example} (Asia Pacific Sydney)

Authentication IP access control List

  1. Authentication is used to authenticate the termination SIP URI IP address or FQDN
  • Click on the  plus button, Friendly name: My business name
  • Add an IP address range: Your PBX IP address
  • Friendly name: VodiaPBX and save

Credential list: is used authenticate the user and password of the SIP URI

  • Friendly name:
  • User name: The user that will be passed when authenticating the SIP request
  • Password: The password used by the user to the authenticate the SIP request


Here you will create the origination URI.

  • Origination SIP URI: can also be an IP address as well.

This will be used to send traffic to the PBX, so if you don’t have a FQDN you can always use your external IP address

  • Click on the Plus button and create the (Origination SIP URI) could be IP address or FQDN


Purchase a number from Twilio in order to get inbound and CID working.

Once you have purchased your number you can point the number to your SIP trunk

Creating the Twilio Trunk in Vodia PBX


  • Name your Trunk or choose the pre-configure Twilio trunk
  • Type (SIP Gateway)
  • Direction  (inbound and outbound)


  • Account: User name created in the credential list
  • Domain:  SIP URI created in the Termination URI (mycompany)
  • Username: User name created in the credential list
  • Password:  Password created in the credential list
  • Proxy address: SIP URI created in the Termination URI (mycompany)
  • Explicitly list address for inbound traffic (Optional)

Routing Redirection

  • You can choose to send calls to the Request URI or to a specific extension

Number/ Call Identification

  • Trunk ANI: Add your Twilio Number
  • SIP Caller -ID presentation  (Custom headers)
  • Request-URI Value: Let the system decide
  • From  Value: Other <sip:{trunk-ani}@{domain};user=phone>
  • To Value: Same as the Request-URI
  • P-Asstered Identity Value: Don’t use header
  • P-Preferred Identity Value: Don’t use header
  • Remote-Party-ID value: Based on the incoming call
  • Privacy Indication value: RFC3325
  • Rewrite global numbers value “Use + symbol at the beginning

Latest Articles

View All

Significant Growth in Global UC&C and CPaaS Markets

In late September 2023, IDC reported significant growth in the global Unified Communications & Collaboration (UC&C) and Communications Platform as a Service (CPaaS) markets. UC&C encompasses solutions like Audio Conferencing, Desktop Sharing, Instant Messaging, IP Telephony, Video Conferencing, Voice, and Web Conferencing. Vodia's communication system seamlessly integrates many UC&C functionalities, enhancing collaboration, flexibility, and productivity for businesses. As a CPaaS provider, Vodia offers developers a cloud platform to add real-time communications features to their applications effortlessly.

April 16, 2024

Solid Ground: Smart Real Estate Communication from Vodia

The real estate industry is evolving rapidly, propelled by innovative communication services that are revolutionizing property management, tenancy expansion and asset valuation. Vodia's smart communication solutions are at the forefront of this transformation, connecting real estate stakeholders with cutting-edge technology. Our comprehensive suite of connectivity and communication services is tailored to meet the diverse needs of the real estate value chain, empowering stakeholders with efficient and effective tools for seamless integration and enhanced operational efficiency.

April 11, 2024

Vodia at the Pulse of Healthcare Digitalization

Effective communication is essential for building trust in healthcare, and Vodia plays a crucial role in ensuring successful digitalization efforts. At the DMEA trade fair, several pivotal themes emerge that hold significant importance for advancing digitalization in healthcare. From AI integration to cloud-based solutions, Vodia's platform empowers healthcare providers to streamline processes and enhance patient care. Discover Vodia's offerings and learn how we can support your digital healthcare initiatives.

April 9, 2024