Please note that all reports must be collected while the troubles are occurring. If not, they're pretty meaningless.
Collect MTR Report
Using MTR on Unix-based Systems (Linux/GNU)
Syntax of command
mtr [-hvrwctglspniu46] hostname [packetsize]
For example, to test the route and connection quality of traffic to the destination sip1.hoiio.com, with useful flag -rw -c50, input following command
root@ip-10-7-1-231 ec2-user]# mtr -rw -c50 sip1.hoiio.com
Using MTR on Windows Systems
For Windows, we use the WinMTR.
Using MTR on MAC OS X
To gather the MTR report on MAC OS X, you need to install mtr package at Rudix. then run the following command in Terminal
sudo /usr/local/sbin/mtr -rw -c50 sip1.hoiio.com
Note:
- The destination host should be the SIP domain your SIP account is based on.
- To understand more about MTR, please refer to Linode.
Collect Network Traffic Capture
To capture the network traffic, we using Wireshark/TShark tools, is a free and open-source packet analyzer. It is used for network troubleshooting, analysis.
Using TShark on Linux/GNU Systems
Syntax of command , input tshark -h for Usage instruction
tshark [options]
Using Wireshark on Windows (download) Note that select correct interface to capture network traffic.For example, capture the network traffic on NIC0 and save the capture file with name "capture-output.pcap" enter following command
tshark -i eth0 -w capture-output.pcap
Press Ctrl + C to stop capture network traffic.