Tech

The cloud and voice encryption

Published on:

February 7, 2014

When the first version of pbxnsip introduced RTP encryption, it was a pioneering feature, but it didn’t generate the expected marketing success. Back then, customers were just happy if they could hear each other over VoIP. Over time, we refined our SRTP implementation to address challenges like the rollover counter, optimized transcoding, and avoided one-way audio issues. With growing awareness of security, encryption is now a critical focus, yet many providers still don’t encrypt voice traffic. To bridge this gap, we’ve added the ability to write decrypted PCAP files, making troubleshooting encrypted voice easier, and this feature is available in version 5.1.3.

The first version of pbxnsip had already RTP encryption. It was actually one of the reason to start a new PBX because at that time there was nothing on the market that was affordable. I remember we made a full-page advertisement in a telephony magazine about this important feature. However, instead of having the phone ringing all the time about this new feature, it was a marketing flop. Almost nobody cared. At that time VoIP was just in a different stage, customers were happy if they could hear each other at all. One-way audio had just been invented.

Over time we learned how to deal with the rollover counter. Instead of coming up with SSRTP, which is not backward compatible, we found a pragmatic way that works in practically all situations. We optimized the SRTP implementation, so that SRTP transcoding was not stressing the CPU too much. Also transfers did not cause any SRTP hiccups. Also we found ways to read misleading answers during the negotiation so that we did not end up with one-way audio because of SRTP.

After the latest revelations about the various agencies in the world, people today are a lot more aware about the importance of voice encryption and the cloud. However there is still a huge gap between what could be done and what is the reality. Many hosted PBX providers are still not encrypting their voice traffic between the PBX and the handset. And even worse, the competition in the SIP trunk space is all about price. Things like encryption don’t play a role, and so most of the RTP traffic in the internet backbone is completely unencrypted. With least cost routing that makes up most of the routing decisions today, it would be easy to set up a trunk provider that bids for the routes that you are interested in and then you’ll get the voice traffic delivered to your front door.

I have not given up the hope that SRTP will be used on a trunk one day. We are still preparing for this. Apart from offering the encryption mechanisms, we also need to work on the tools to trouble shoot encrypted voice.

Therefore, the latest security feature that we have added is the writing of decrypted PCAP files. Having the raw packets as they go in and out of the PBX if great to analyze problems. However if they are encrypted they have only limited value. Because the PBX knows the security context, it can first decrypt the packets and then write them into a PCAP file with the timestamps when they were received. Other devices like SIP-aware firewalls and ALG are typically not able to see this traffic. This is something that is very useful in cases when installations have quality problems and the customers demand encryption of their voice traffic.The feature is available since 5.1.3 and does not need a separate license.

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