Tech

PCAP made it

Published on:

July 21, 2015

Once we have the PCAP, finding a problem is becoming almost a pleasure. Because the files are small, and everything is in the same place. It becomes easy to find jitter problems, missing RTP packets and so on. Last week I saw how another external tool took the PCAP idea to the next level. Using an Ethernet switch with port mirroring, all the traffic that hits the PBX also hits the monitoring server, which also sorts the traffic by calls and then puts them into different files. There were nice logs of SIP packets, RTP analysis and other things you want to know about a call.

A few years ago, we have added PCAP recording to the list of features supported by the Vodia PBX. At that time we were just so sick of going through Gigabytes of Wireshark traces that we just added something in the code that does this job based on the associated call. It would save us a lot of time sipping through endless lists of calls that have been recorded over hours of conversations, literally trying to find the needle in the haystack.

Once we have the PCAP, finding a problem is becoming almost a pleasure. Because the files are small, and everything is in the same place. It becomes easy to find jitter problems, missing RTP packets and so on. Last week I saw how another external tool took the PCAP idea to the next level. Using an Ethernet switch with port mirroring, all the traffic that hits the PBX also hits the monitoring server, which also sorts the traffic by calls and then puts them into different files. There were nice logs of SIP packets, RTP analysis and other things you want to know about a call.

There is only one problem when using the port mirror method: Encrypted calls will be invisible there. Because the TLS traffic cannot be intercepted by the monitoring device, it will not be able to figure out which RTP packets belong to which call, and thus not be able to put the whole call together. The PBX can do that, because it has the cryptographic context.

The disadvantage of the PBX recording all the PCAP is performance. It simply takes additional CPU horse power to write the files. The decoding is not so much a problem as it has to be done anyway. But the writing to the file system causes the system some extra work. Compared to the call recording this causes less work, because the PBX does not actually have to look into the media packets.

I can think about two things that the PBX could have in the next version. The first thing is to automatically delete the PCAP files after so-and-so many days, simply to make sure that the system is not eventually running out of disk space. The other thing is to make the PCAP files accessible from the web interface, possibly linked to the CDR records.

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