Capturing local VoIP data stream / Capture a TCP trace

Have you been asked to send us a capture or a call trace?

On occasion, we may ask you for more information to find where an issue may be coming from.
In that case, we will usually ask for a trace or capture of the phone call data stream at your location.

A good tutorial on how to do that is provided by the software manufacturer that also has the software solution you would probably want to use for that.
So please see:
https://wiki.wireshark.org/VoIP_calls

Another good and slightly more extensive explanation of the capture process itself can be found here:
https://www.linuxjournal.com/article/9398

The short and sweet explanation on how to use Wireshark

To troubleshoot or analyze a particular problem, it is often handy to take a closer look at the actual SIP traffic being sent between your devices and our servers.

For example:

  • You can check whether SIP traffic is arriving at the server, and thus verify that traffic is not blocked by a firewall on the client or by a firewall sitting in between the server and the VOIP provider
  • You can check the exact format of INVITES and other SIP messages sent by your VOIP provider or VOIP gateway
  • You can view registrations made by phones

To create a SIP capture:

  1. Download and install a Network Capture tool.
    In this example, we use the free Wireshark tool, which can be downloaded from www.wireshark.org
  2. Activate the interfaces from the menu.
    Go to the menu option Capture > Interface
  3. Now select the network interface on which the traffic is being sent and received (be sure to select the correct one) and click on the start button.
    Traffic will now be captured.
  4. Make a call or reproduce the particular action that you wish to analyze (for example registration with Voyced, or an outbound call via the Voyced servers)
  5. You will see the SIP traffic appear in the main window.
    When done, you can stop the capture and then save the capture from the file menu for future analysis.

To create an UNFILTERED Wireshark Capture:

When saving the capture, make sure that in the "Packet Range" section, at the bottom of the "Save" dialog box, you select the options labelled "Captured" and "All Packets".
That way, the Support team can also check if any other traffic is interfering with your main SIP traffic, or if, for example, a port, codec, DNS or HTTP request failed for some reason.

Last updated: 01/01/2024

 

 


© Voyced
All information provided is copyrighted and purely informative in nature. It is maintained by Voyced with the greatest of care using reliable sources only.
Given the fast evolution of the telecom sector, Voyced does not offer any guarantee about the accuracy and completeness of the information offered. 
We explicitly do not give anyone permission to use this information in any other way than to inform themselves about what (legal) requirements there may be and they need to comply with when registering Services and/or DIDs with Voyced.

  • capture, trace, error, troubleshooting, wireshark, pcap
  • 2 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

1. First check if your Internet connection is functioning as it should

If your Internet connection is not functioning as it should, your devices won't be able to...

2. Check the Announcements page for possible maintenance work or disruptions

Although we try very hard to prevent any disturbances in the service, we do have to do some...

3. Have the problems started after updating firmware or replacing / adding devices?

Have the problems manifested themselves after changing or adding on of the following: - a new...

4. Check if your phone is set to DND (Do Not Disturb)

You can dial out, but they can't call you? Do incoming calls go straight to voicemail?...

5. Check if your phone is set to Forwarding

Another possibility is that, often by accident, a Forwarding modus has been activated. Often you...