How To Debug and Troubleshoot VOIP

Debugging and troubleshooting VOIP problems.

(SIP, MGCP, H.323, Skinny etc.)

One of the primary techniques is to view what is actually getting sent and received by VOIP devices. There are several ways to do this:
  • Monitor Ethernet Traffic
  • Debugging displays from a VOIP program

It helps to understand whats supposed to be happening. Studying the relevant RFCs and other protocol documents and tutorials is helpful.

Ethernet Monitoring Tools

  • Wireshark (Ex Ethereal) (Open Source and available for Linux, Windows, Apple, BSD, etc.)
    • Support for decoding many VOIP protocols is included (including IAX)
    • VoIP call analysis and call flow diagram for (SIP, MGCP, H323, etc.)
    • RTP Statistics and graph analysis (jitter, delay, packet lost, etc.)
    • RTP playback (Wireshark only)
  • Spirent Communications - Test Solutions for VoIP networks and devices
  • tcpdump (standard utility in most Linux distributions)
  • WinDump - tcpdump for Windows
  • ngrep (Available for Linux, Windows, Apple, BSD, etc.)
    • Dumps only the ASCII portion of packets, excellent for ASCII based protocols
  • Packetyzer: User-friendly packet sniffer for Windows, supports SIP
  • List of Monitoring and sniffing software
  • Rate which provides real time packet-per-second and data transfer rates
  • ClarifiedNetworks
    • HowNetWorks - a free VMWare appliance
    • Tia - sophisticated monitoring and flow analysis tool with visualisation, multiple data sources, ...
  • TamoSoft CommView - network analyzer for Windows
    • Real-time VoIP call monitoring
    • SIP and H.323 analysis and decoding, call playback
    • Jitter, QoS, Bandwidth charts
  • Touchstone
    • WinEyeQ
      • 100% software-based
      • monitors/analyzes/records/replays SIP and H.323 traffic, audio/video media and QOS.
    • TraceBuster (free version available)
      • records/replays SIP and H.323 traffic, audio/video media and QOS.
  • SIP Workbench Displays SIP ladder diagram from WireShark/pcap captures
    • Displays STUN/TURN interactions
    • Allow users to filter on particular call flows

Built-in Debug Tools

  • xten The x-lite and x-pro SIP soft phones have a buit-in display and decoding of received and sent SIP packets (Hit F9 to activate)
  • Asterisk Use the sip debug command
  • linphone Outputs useful diagnostics to the console as it uses the oSIP library
  • pjsua A command line SIP user agent from pjsip.org, available for various platforms, and very useful to debug SIP functionalities (call, presence, instant messaging, etc.) as well as media quality via RTCP statistics.

Traffic generators

  • Codima autoVoIP Traffic Simulator - Simulate and Stress Test all types of VoIP networks
  • Spirent Communications - Test Solutions for VoIP networks and devices
  • Candela Technologies LANForge FIRE VOIP/RTP/PESQ call generator
  • Empirix Signaling and Media load and feature testing
  • GL Communications
    • PacketGen - generates SIP calls with or without RTP traffic
    • PacketScan - monitor, collect, and analyze QoS statistics on VOIP traffic
  • Integrated Research Prognosis will simulate, record and analyze VOIP traffic in real time.
  • Iperf creates network traffic and measures performance
    • Can be used to test a network to see how it might perform with increased VOIP traffic
  • Ixia VOIP traffic generators and Network assessment tools
  • MyVoIPSpeed simulates VoIP traffic over your Internet connection, measures key diagnostics including Jitter and Packet Loss, and provides an analysis of the voice quality
  • PacketIsland 4"x4" in-line micro-appliances used in a distributed multi-site enterprise or SME to generate live VoIP traffic and measure loss, jitter, MOS, route performance, route flaps, etc. Also measures ongoing data traffic in network.
  • Sipp SIP Performance Test Tool - Performance tester for SIP
  • pjsip-perf Open source call generator from pjsip.org to measure SIP call/transaction performance.
  • Touchstone 100% software-based VoIP and video verification tools.
    • WinSIP - SIP signaling and Audio/Video media generator
    • Win323 - H.323 signaling and Audio/Video media generator
  • Valid8.com Valid8.com is a leading provider of SIP, H.323, Megaco, SIGTRAN traffic generation solutions.

Monitoring and Test Tools


Asterisk Tools

  • Nocom A simple script for viewing Asterisk config files with comments and empty lines removed.

Network Impairment Simulators

  • Apposite Technologies Linktropy 4500 hardware appliance to emulate WAN bandwidth, delay, and loss up to 155 Mbps.
  • Candela Technologies LANForge ICE Network Emulator
  • IPWave simulates many types of network impairments
  • NIST Net allows a single Linux PC set up as a router to emulate a wide variety of network conditions
  • Shunra Network Simulator Shunra Virtual Enterprise (Shunra VE) network simulator creates a model of any production environment, including the network, remote locations, and the number and distribution of local and remote end-users. With Shunra VE, users can test the functionality, performance, scalability and robustness of the VoIP infrastructure under current and future production conditions — before deployment over the network.
  • Simena Network Emulator hardware appliance can simulate just about any possible network condition including latency, bandwidth, congestion, packet loss, etc. Test where your VoIP will break!
  • Spirent Communications - Test Solutions for VoIP networks and devices
  • UDP Packet Reflector and Forwarder open source tool that can drop packets, duplicate packets, and add jitter on a per port basis.

Decoding VOIP audio streams

There are several approaches to converting an RTP stream of packets into a playable audio.
See: Converting RTP to audio

SIP Debug


Protocol Debug


Other Sites


  • CallManager Express Resource - design, tips and tricks and troubleshooting help for Cisco's SMB voice platform.


See also



Created by: jht2,Last modification on Wed 26 of Nov, 2008 [22:51 UTC] by hff135


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 
Sponsored by:




Search: