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

Unlock Smarter Workflows with the Vodia and monday.com Integration

Vodia’s latest integration with monday.com combines powerful business communications with an intuitive, AI-driven CRM platform used by 61 percent of the Fortune 500. This integration automatically logs inbound and outbound calls from your Vodia PBX directly into monday.com boards, creating and updating contact records while maintaining detailed call histories. Designed to streamline workflows and enhance collaboration, this seamless connection helps businesses save time, reduce manual data entry, and improve productivity through smarter communication management.

June 20, 2025

Vodia and Microsoft Teams: A Robust Integration for Business

The integration between Vodia PBX and Microsoft Teams gives businesses a seamless way to combine powerful SIP-based telephony with modern collaboration tools. With advanced call control, a built-in Session Border Controller (SBC), and extensive customization options, the Vodia PBX enables organizations to manage both Teams and SIP users within a single, secure, and flexible system. This hybrid architecture allows companies to tailor their communications infrastructure to match their specific operational needs - whether across departments, locations, or user roles.

June 17, 2025

Flowroute SMS and MMS With Vodia PBX | Video Tutorial

Vodia PBX integrates seamlessly with Flowroute to enable SMS and MMS messaging within your VoIP system. This video tutorial guides you through the entire process - from setting up your Flowroute account and configuring SMS and MMS in the Flowroute portal to webhook setup for message delivery and thorough testing to ensure everything runs smoothly. Designed for businesses and service providers alike, this comprehensive guide helps you quickly and efficiently add reliable, scalable text messaging features to your communication infrastructure, enhancing your overall VoIP experience.

June 16, 2025