Tech

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).pstn.twilio.com 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 .pstn.us1.twilio.com etc.

  • {example}.pstn.us1.twilio.com (North America Virginia)
  • {example}.pstn.us2.twilio.com (North America Oregon)
  • {example}.pstn.ie1.twilio.com (Europe Ireland)
  • {example}.pstn.de1.twilio.com (Europe Frankfurt)
  • {example}.pstn.sg1.twilio.com (Asia Pacific Singapore)
  • {example}.pstn.jp1.twilio.com (Asia Pacific Tokyo)
  • {example}.pstn.br1.twilio.com (South America São Paulo)
  • {example}.pstn.au1.twilio.com (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: mycompany.com
  • 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

Origination

Here you will create the origination URI.

  • Origination SIP URI: sip.mypbxbuisnessname.com 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

Number

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

General

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

Registration

  • Account: User name created in the credential list
  • Domain:  SIP URI created in the Termination URI (mycompany).pstn.twilio.com
  • 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).pstn.twilio.com
  • Explicitly list address for inbound traffic 54.172.60.3  172.18.21.17  54.172.60.3 (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
Trunk_ID

Latest Articles

View All

Vodia: Optimizing Enterprise VoIP

At Vodia, we recognize the inherent challenges facing enterprise VoIP, particularly in maintaining high-quality audio connections amidst factors like jitter, network latency, and packet loss. These issues disrupt the seamless communication experience essential for business operations. To address these challenges, we've developed innovative solutions within our PBX, such as recording decrypted RTP packets and offering flexible options for data privacy. Our commitment lies in resolving these obstacles efficiently, ensuring businesses can rely on uninterrupted communication without compromising on security or performance.

May 15, 2024

Transcribe Recorded Calls and Voicemails in Multiple Languages with the Vodia Cloud Phone System

Unlock the power of multilingual communication with Vodia's Cloud Phone System, supporting up to 18 languages for transcription and translation. Our global commitment to innovation ensures accessibility to our feature-rich PBX worldwide. Using AI language models, Vodia enables speech-to-text and text-to-speech conversion in 18 languages. Seamlessly integrate languages like Arabic, Spanish, and Japanese into your Vodia PBX. Enhance customer service, streamline call handling and expand your global reach with our multi-language capabilities.

May 7, 2024

Version 69.2.4 of The Vodia Phone System Now Available​

Vodia recently released version 69.2.4, the latest update to their industry-leading cloud phone system. This update boasts a completely rebuilt frontend, providing a modern user experience, and integrates seamlessly with nearly any browser-based platform. A key feature is integration with Grafana, a powerful tool that enables comprehensive monitoring of Vodia instances across various platforms. Version 69.2.4 also brings several other improvements, including the ability to add custom notes to accounts, sending CDR emails for regular extensions, and enhanced support for Mitel 68xx and 69xx series phones.

April 30, 2024