Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Elastix Unified Communications Server Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Elastix Unified Communications Server Cookbook

Elastix Unified Communications Server Cookbook

By : Gerardo Barajas Puente
5 (3)
close
close
Elastix Unified Communications Server Cookbook

Elastix Unified Communications Server Cookbook

5 (3)
By: Gerardo Barajas Puente

Overview of this book

This book is aimed at those who want to learn how to set up an Elastix Unified Communications Server without losing ground on Unified Communications and Voice over IP.
Table of Contents (19 chapters)
close
close
13
A. Description and Use of the Most Well-known FreePBX Modules
14
B. Addon Market Module
15
C. Asterisk Essential Commands
16
D. Asterisk Gateway Interface Programming
17
E. Helpful Linux Commands
18
Index

Using TCPDUMP for debugging

Another way to generate traces from within our Elastix server's command line is to use the tcpdump program. This program sets a specified network device in order to catch all the IP traffic that goes through it.

How to do it...

  1. The next example shows the command we need to execute in order to capture packets in the network device eth0.
    tcpdump -pi eth0 -s0 host XXX.XXX.XXX.XXX and udp port 5060 -vv -w file.cap
    
  2. The option -s0 captures packets of any size from host XXX.XXX.XXX.XXX traveling through the udp port 5060 and writes the output to the file.cap file. The specified host could be the IP address from an IP phone or from a VoIP provider. After making one or two calls, we exit this command by pressing Crtl + C. Then, we can transfer this file to our laptop or work station and open it, using Wireshark.
  3. In case we would like to use the TCPDUMP command over IAX, the way this command can be issued is as follows:
    tcpdump -pi eth0 -s0 host XXX.XXX.XXX.XXX and udp...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY