Troubleshooting VoIP with sniffers

Troubleshooting VoIP with sniffers

Although there are a lot of fancy tools on the market that will tell you everything you want to know about your network performance, sometimes it's better for you to look at the raw data. Understanding what's really happening can help you build better networks and make it easier for you to troubleshoot, even though the manual process is much more cumbersome than the reporting from automated tools.

The easiest way to look at the raw data is with a protocol analyzer, often called a sniffer. For completeness, you'll want to insert your sniffer on both ends of a call, but assuming you have a WAN between your VoIP endpoints, you'll want to pay most attention to the packets that have already crossed the WAN, as this is where they're most likely to see degradation.

To configure your protocol analyzer, you'll want to set a filter for RTP traffic, and then make sure two fields in particular are displayed. First is "delta-time". This is the arrival time at the sniffer between subsequent packets. By default, a lot of sniffers will display the absolute or relative times, which are based on the clock and the start of the trace, respectively. The second field is the RTP Sequence Number. The VoIP sending endpoint increments this number with each packet sent, so the receiving endpoint knows if any packets are out of order. You will often find this value displayed by default inside the "summary" field, but if it's not there, you'll want to add it.

Once you've

    Requires Free Membership to View

    SearchUnifiedCommunications.com members gain immediate and unlimited access breaking industry news, expert advice on UC, technical guides, and more -- all at no cost. Join me on SearchUnifiedCommunications.com today!

    Kate Gerwig, Editorial Director

    By submitting your registration information to SearchUnifiedCommunications.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchUnifiedCommunications.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

captured a stream of RTP packets, you can quickly scan down the Sequence numbers and determine if your network is sending any packets out of order. Then scan down the delta-time column and you can see what your jitter really looks like. If you see the same delta-time for every packet, your jitter is zero! If the delta-times are dramatically different, you probably want to rethink your QoS strategy.

Once you get familiar with this raw data, it will be easier for you to interpret the reports from your automated tools.


Thomas Alexander Lancaster IV is a consultant and author with over ten years experience in the networking industry, focused on Internet infrastructure.


This was first published in June 2003

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.