Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

Using Wireshark for debugging


Another way to check the status of a call, for example, is by using a network protocol analyzer, such as Wireshark (http://www.wireshark.org/). This program allows us to capture all network traffic moving through our network devices.

How to do it…

  1. Select the interface connected to the LAN or VLAN where our IP-PBX is and apply the filter to capture all packets from port 5060 (SIP). If we'd like to capture IAX protocol calls, we can specify the filter option as follows: udp port 4569. This is shown in the next image:

  2. Click on the Start Capturing button and we will start seeing the flow of SIP packets through our network device, as shown in the next image:

  3. After capturing the packets, we can select the Statistics | Flow Graph menu to see the flow of packets from an SIP call in a more graphic way, as shown in the next screenshot:

  4. The next image shows the flow of a call by using the SIP protocol:

  5. If for any reason we do not specify a port for capturing traces and we capture...