Have you ever wanted to check out your signaling? Want to try and do some personal troubleshooting? Or do you have a ticket open that requires a PCAP (packet capture)? No matter the situation, the following article describes easy steps you can follow to get your PCAP. This article describes performing a packet capture/TCP dump for both Linux-based and Windows-based systems.
-
Start a trace by running the following command:
tcpdump -s 3000 -w ~/flowroute-{{case.id}}.pcap port 5060
orportrange 10000-35000
tcpdump -s 3000 -w ~/flowroute-{{ticket.requester.first_name | downcase}}.pcap port 5060
orportrange 10000-35000
.NOTE: If you don't have the tcpdump, it should be available through your distribution's package manager or from http://www.tcpdump.org/. - Place a test call to reproduce the problem you're experiencing.
- Close the trace by pressing CTRL+C.
- Compress and attach the resulting file, flowroute-{{case.id}}.pcap, to the ticket so that we can analyze the file to diagnose the issue. This file will be located in your home or ~/ directory.
- Compress and attach the resulting file, flowroute-{{ticket.requester.first_name | downcase}}.pcap, to the ticket so that we can analyze the file to diagnose the issue. This file will be located in your home or ~/ directory.
- Download and install a network capture tool, such as Wireshark.
- Click the Capture menu, and then click Interface.
- Select the network interface on which the traffic is being sent and received, and then click Start.
- Place a test call to reproduce the problem you're experiencing.
- Click the Stop Capture icon on the menu.
- Click File, and then click Save As and save the file as flowroute-{{ticket.id}}.pcap.
- Compress and attach the resulting file, flowroute-{{ticket.id}}.pcap, to the ticket so that we can analyze the file to diagnose the issue.
- Click File, and then click Save As and save the file as flowroute-{{ticket.requester.first_name | downcase}}.pcap.
- Compress and attach the resulting file, flowroute-{{ticket.requester.first_name | downcase}}.pcap, to the ticket so that we can analyze the file to diagnose the issue.