Tech

Vodia: Optimizing Enterprise VoIP

Published on:

May 15, 2024

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.

While recently wrapping up a project with a large number of devices connected over wireless, we encountered some challenges with the quality of the audio connection. These sorts of issues are not uncommon, particularly within the realm of Voice over Internet Protocol (VoIP) applications. The key difference between VoIP and many other web applications is its real-time nature; unlike traditional Web applications, wherein data can be buffered and processed before delivery to the user, VoIP requires the transmission and reception of audio data in real-time to ensure seamless communication. This real-time requirement introduces unique challenges in maintaining audio quality, as factors such as jitter, network latency and packet loss often result in negative impacts on the user experience. Additionally, the quality of the audio connection often depends on the type of codec used, the efficiency of the audio processing algorithms and the hardware components involved in the reception and transmission of audio data.

Finding the needle in the haystack

Our experience investigating media-related issues during a past project involving a large PCAP file with concurrent calls prompted us to develop a feature for our PBX that records the packets associated with each call, along with the call record. This feature greatly simplified the process of identifying and troubleshooting media issues, including bursts, excessive jitter or one-way audio.

The ability to conveniently find a problematic call in the call log and download the corresponding packets saves a significant amount of time. Encrypted media presented a challenge, however, as playback of the actual audio in Wireshark was complex and time-consuming. To address this, our phone system now records the decrypted RTP packets for easy playback, eliminating the need for manual extraction and decryption of SDES crypto lines from SDP in INVITE packets. Unfortunately today, for DTLS-encrypted media streams, there isn’t a way to decrypt the media stream after the PCAP has been recorded, which highlights the effectiveness of DTLS in securing media streams.

Further optimization involved enriching the packet information with details such as destination IP addresses, source and timestamps. In Linux, we leverage the socket's ability to report the actual timestamp when a packet is received, along with the IP addresses. While Windows only provides the IP addresses, it’s still an improvement over the original PCAP recording, where the addresses had to be inferred by the PBX.

Our ongoing efforts to refine the troubleshooting tool have greatly improved accuracy and efficiency. By recording decrypted RTP packets, capturing additional packet information and leveraging operating system capabilities, we have streamlined the process of identifying and resolving media-related issues. This enables a seamless, high-quality communication experience for our users.

Why not for every call?

The cost of hard drive space has decreased significantly, making it affordable to store large amounts of data. Calls typically occupy only a few MB, which is less space than modern camera photos require. Additionally, the CPU overhead associated with storing call data is minimal.

Privacy concerns arise, however, when considering call recording: calls contain sensitive information, and recording them carries various obligations and liabilities. For instance, callers may need to be notified their calls may be recorded, which is impractical in typical PBX deployments during media problem troubleshooting.

To address these concerns, we have introduced two additional options in the PBX. The first option allows for the inclusion of SIP packets in every call record - SIP packets typically amount to a few KB of data, so even if the PBX records millions of calls, the additional hard drive space required is an insignificant amount for modern servers. Moreover, since SIP packets contain metadata about calls, the compliance requirements are much lower, as compared to actual conversation data. The caller ID is already included in the CDR, and the technical details of the call add limited information from a privacy perspective. This option is enabled by default, but it can be disabled by the system administrator.

The second option replaces the PBX media with dummy data. While every media packet is still added to the packet trace, the actual content is erased, ensuring there is no way to playback the actual content. Although playback is no longer possible, all other information is retained; this facilitates the identification of typical issues such as one-way audio, packet drops and burst problems.

Time is money

Everybody knows installing and operating hundreds of access points isn’t possible without management tools capable of measuring the performance of the access points and the registered clients, the cost for such a project would explode. While home WLAN access points can be operated without such tools, complexities arise when multiple cells come into play. The same is true for VoIP projects that go beyond a handful of extensions. Tools and data collection are crucial for a successful project within a limited time budget. 

VoIP platforms like the Vodia PBX can integrate with external tools like VoIP monitors by sharing TLS master keys - this enables the decryption of packets. Other tools like sipcapture focus on SIP signaling, which provides valuable insights. When it comes to delving deeper into the timing of media packets, however, these tools fall short. This is where the Vodia PBX steps in and provides the media packets as well, encrypted or not, with meaningful data that can be analyzed by standard tools.

Most VoIP projects are executed at a professional level - they need to be profitable and stay within budget. Having the right data and the proper tools for analysis is paramount in achieving these goals. The PBX collects relevant data and makes it accessible for these tools to facilitate the identification and resolution of issues.

The future holds even more promise, thanks to the potential integration of Artificial Intelligence (AI) in data analysis: AI could provide suggestions or even make changes to the setup based on the collected data. Such tools are still in their nascent stages, and human intelligence remains indispensable for successful deployment in complex environments.

Having the right tools and data is essential for troubleshooting and optimizing telecommunication systems, especially in enterprise deployments. As technology advances, we can expect even more sophisticated tools and techniques to emerge, further enhancing our ability to manage and maintain these critical systems effectively and efficiently.

We are glad to help our partners

Vodia’s expertise in enterprise VoIP business makes it so our partners can deploy the highest quality professional services for impeccable customized communication experiences. Don’t hesitate to contact us with any inquiries, sales@vodia.com, (617) 861-3490.

About Vodia Networks

Vodia Networks, Inc. is a pioneering provider of B2B Cloud Communications Solutions catering to enterprises, contact centers and service providers. Vodia's PBX software boasts an extensive suite of business telephony features for on-premise and cloud-based systems and operates seamlessly across Windows, Linux or Mac platforms. Fully compliant with SIP industry standards, the Vodia phone system integrates effortlessly with a wide range of SIP-based devices and trunking providers, granting ultimate freedom in telephony. Vodia’s multi-tenancy platforms are compatible with an unprecedented number of technologies, including desk phones, softphones and APIs, for myriad third-party software and CRM systems. Our mission is to empower our partners and end-users with the world's best cloud PBX and personalized support to ensure their success at every turn. Visit Vodia on LinkedIn, Twitter and YouTube.

Latest Articles

View All

On-Premise Persists: Why It Still Matters, and How NEC's Decision to Exit the Market Creates Opportunity

On-premise solutions continue to be vital for many enterprises due to their superior data security and control, essential for industries like finance and healthcare. They offer deep customization, fitting specific needs and legacy systems, and provide reliable performance, especially for latency-sensitive applications. Additionally, while cloud solutions have a pay-as-you-go model, on-premise can be more cost-effective in the long run for predictable workloads. This balance of security, customization, and cost-efficiency ensures on-premise remains a strong option amidst the growing shift to cloud services.

July 19, 2024

Locality networks Case Study: Providing an Industry-Leading Multi-Tenant UC PBX with Advanced Features to Its Customers

Locality Networks, delivers high-speed fiber optic internet and advanced tech solutions to homes and businesses. Seeking to enhance their offerings, they implemented Vodia’s multi-tenant UC PBX, which provides top-tier features like mobile extensions, web clients, texting and CRM integrations. This has enabled them to offer cutting-edge communication tools, enhancing customer productivity and satisfaction. The seamless deployment, robust call center features and excellent support from Vodia and partners have made this transition successful for their diverse clientele.

July 12, 2024

Cove Central TAPP Expands Nationwide

Cove Central Communications announced its nationwide Technology Alliance Partner Program (TAPP) with Vodia in November 2023, aimed at supporting Managed Service Providers (MSPs) in delivering VoIP solutions. Since its launch, TAPP has seen significant interest, with Cove Central now providing VoIP solutions to over 30,000 users through regional MSP partners. The program addresses challenges such as FCC fees, compliance, and E911 configuration, simplifying VoIP deployment for MSPs. Jim Whittaker, Head of Technology, noted a projected revenue increase of 60% or more in 2024 due to TAPP.

July 3, 2024