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 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

1. Controleer eerst of u een werkende internetverbinding heeft

Als uw internetverbinding niet werkt kunnen uw toestellen zich niet aanmelden en kunt u niet...

2. Check de Announcement pagina of er onderhoudswerkzaamheden of storingen zijn

Alhoelwel we natuurlijk ons uiterste ons best doen om dit te voorkomen, het is mogelijk dat er...

3. Zijn de problemen begonnen na een firmware update of vervanging / toevoeging van apparatuur?

Doen problemen zich voor sinds het wijzigen en/of de ingebruikname van: - een nieuwe...

4. Controleer of uw toestel op DND (NIET STOREN) staat ingesteld

Kunt u wel uitbellen maar niet meer gebeld worden? Gaat een inkomend gesprek gelijk naar de...

5. Controleer of uw toestel op Forwarding staat ingesteld

Ook kan er (per ongeluk) een forwarding op het toestel zijn ingesteld. Vaak ziet u dit ook terug...