
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
248
|
Chapter 11: Troubleshooting Tools
troubleshooting tool. Using a sniffer (or protocol analyzer), like the ubiquitous Ethe-
real or Network General’s aptly named Sniffer, you can capture and dissect call set-
ups, teardowns, and other signals. You can zero in on capabilities negotiation—say,
to figure out why two particular phones can’t call each other while the rest of the
network functions fine.
Project 11.1. Inspect SIP Traffic with Ethereal
What you need for this project:
• SIP registrar such as Asterisk
• Xten Network’s X-Lite SIP softphone
• Ethereal software running on Linux, Windows, or Macintosh
Ethereal is a packet analysis tool that you can use to inspect network traffic, from the
Ethernet layer all the way up to the application layer. Packets are captured in a buffer
and displayed on the screen. Filters can be applied to restrict the capture to packets
matching a certain source, destination, size, protocol, or service.
To obtain Ethereal, download it from http://www.ethereal.com and install it on your
Windows, Mac, or Linux box. The screenshots and examples here assume the Win-
dows version. You’ll also need a SIP softphone such as X-Ten Network’s X-Lite or X-
Pro. This project assumes X-Lite. Both X-Lite and Ethereal will need to be running
on the same machine, because switched ...