Asterisk SIP Troubleshooting command line

Asterisk SIP Troubleshooting command line .VOIP communication common protocol is SIP .

SIP Troubleshooting is very important in VOIP. Below are some basic command used in SIP Troubleshooting.

sngrip      Capture and Analyse SIP Packets on the Command Line

yum install sngrep
apt-get install sngrep

For more details visit :- https://falkus.co/2018/07/sngrep-capture-and-analyse-sip-packets/

Read more

How to troubleshoot SIP Connection using tcpdump

How to troubleshoot SIP Connection using tcpdump

To check SIP connection through tcpdump use the following command

tcpdump -nqt -s 0 -A -i eth0 port 5060

where:
-n do not convert IP address to DNS names
-q be quite, print less output informations
-t do not print timestamps
-s capture number of bytes from a packet, 0 = default iptions which is max 65535, or simply a whole packet
-A prints each packet in ASCI
-vvv be very very verbose
-i use interface to capture on
port 5060 listen for traffic ort 5060 traffic for  (source and destination)

output of command 

Read more