Tech

Creating a Transport Layer Security (TLS) Connection between Vodia and Telnyx

Published on:

June 30, 2023

This comprehensive guide outlines the setup of a secure Transport Layer Security (TLS) connection between Vodia and Telnyx, emphasizing the crucial aspects of data confidentiality and integrity. By following the steps provided, users can establish a secure SIP trunk connection. This TLS connection guarantees encrypted and secure communication, enhancing data protection and privacy for your business.

In this blog we guide you through the process of setting up a TLS connection between Vodia and Telnyx. TLS provides secure communication over the Internet, ensuring the confidentiality and integrity of data exchanged between the two systems; by following the stops below, you can establish a secure connection for your SIP trunk.

Connecting with Telnyx 

Create a SIP registration connection in Telnyx. 

Step 1: Connecting with Telnyx

Create a SIP registration connection in Telnyx.

  • Choose "Registration" as the type, then copy your SIP password.
  • The SIP password will be required when setting up the SIP trunk on the Vodia phone system.
  • Save and finish the registration.
Create a SIP Connection with Telnyx
Register a SIP Connection with Telnyx
  • Edit the connection and enable Secure Real-Time Transport Protocol (SRTP) under "Encrypted Media".
  • Save the configuration.

Note: Outbound settings already utilize SRTP settings from the inbound settings. 

Edit SIP Connection to enable SRTP

Step 2: Configuring the Vodia Phone System

  1. Navigate to the SIP trunk to create your Telnyx connection in the Vodia phone system.
  2. Click on "Add" and select "Telnyx."
  3. Enter your Telnyx SIP account details:
    • Name: Provide a name for your trunk.
    • Password: Enter your Telnyx SIP credentials.
    • User: Enter your Telnyx user account.
    • DID: If applicable, enter your Direct Inward Dialing (DID) number.
    • Save the configuration.
  4. Configure TLS under "Proxy Address" by using the following example:
    Proxy Address: sip:sip.telnyx.com;transport=tls

Navigate to the SIP trunk to create your Telnyx connection: Click on “Add” and select "Telnyx." 

Choose Telnyx from the service provider trunk list
Add password to create a SIP Connection with a service provider trunk

Configure the TLS under "Proxy Address" by using the following example:

  • Proxy Address: sip:sip.telnyx.com;transport=tls
Proxy Address to configure TLS

Step 3: Caller ID and Phone Numbers 

To define the Caller ID used when making calls from the Vodia system, follow these steps:

  1. Define the FROM headers and Remote Party ID under the SIP caller-ID presentation:
    • Choose "custom headers" from your Telnyx SIP trunk.
    • You can set up the Domain ANI in the Tenant general settings under "dom_settings.htm".
    • Alternatively, you can set up an ANI on the extension and instruct the header to use "Extension ANI".
  2. Save the settings.

Note: Read more information about Vodia tenant level.

SIP caller-ID Presentation

By following the above steps, you can establish a TLS connection between Vodia and Telnyx, ensuring secure and encrypted communication for your SIP trunk; this added layer of security helps protect your data and ensures the privacy of your calls. Implementing TLS is a crucial step in maintaining a secure communication infrastructure for your business.

Sample inbound show TLS 

INVITE sip:9787368016@54.146.189.63:43296;transport=tls;line=02522a2b SIP/2.0 Record-Route: <sip:192.76.120.10:5061;transport=tls;r2=on;lr;ftag=jBpNrQtFDFegp> Record-Route: <sip:10.255.0.1:5061;transport=tls;r2=on;lr;ftag=jBpNrQtFDFegp> Record-Route: <sip:10.13.247.8:6051;transport=tls;r2=on;lr;tnx=461.748> Record-Route: <sip:10.13.247.8:6050;r2=on;lr;tnx=461.748>

Sample outbound show 

INVITE sip:4001@96.237.116.94:65069;transport=tls;line=shb07dy9;wrtc=true SIP/2.0 Via: SIP/2.0/TLS 54.146.189.34:443;branch=z9hG4bK-0fda88b9200ab8e60062fc693972f2e8;rport

Derniers articles

Voir tous

Integrating OpenAI's Realtime API with Vodia PBX: Webinar Recording Now Available

In our recent webinar, "Integrate OpenAI’s Realtime API with Vodia PBX," we explored how integrating AI with your communication systems can revolutionize the way your business operates. From automating repetitive tasks to improving workflow efficiency, the webinar covered how the collaboration between Vodia PBX and OpenAI’s Realtime API can streamline operations, enhance collaboration - especially for Microsoft Teams users - and provide intelligent automation to stay ahead in a competitive landscape. If you missed the live session or want to revisit the insights, the recording is now available for you to access.

December 18, 2024

Unlock the Power of OpenAI’s Realtime API with Vodia PBX: Join Our Exclusive Webinar!

Join our exclusive webinar to explore how Vodia PBX seamlessly integrates with OpenAI’s Realtime API, unlocking powerful new capabilities for your communication systems. This session will showcase how AI-driven features can streamline workflows, improve operational efficiency and elevate the PBX experience for both general users and those on Microsoft Teams. Whether you’re looking to stay ahead of the competition or leverage the latest AI trends, this webinar offers practical knowledge and actionable strategies. Register now to secure your spot and take the first step toward transforming your telecom infrastructure with AI innovation!

December 4, 2024

Connecting to OpenAI Realtime API

This document details the beta version of the Vodia PBX that connects to the OpenAI realtime API, enabling users to interact with a chatbot via telephone. The backend JavaScript code facilitates the connection, handling audio input and output, and the WebSocket connection to the OpenAI API. The setup requires a Vodia PBX version 69.5.3 or higher, an API key, and a license with an IVR node. The demo can be accessed by editing the ivrnode.js template and creating an IVR node in the tenant. The system supports various VoIP devices and offers good voice quality. Future improvements include voice activity detection and the ability to take actions based on OpenAI responses.

November 26, 2024