December 7, 2011 – 6:58 pm | 16 Comments

3CX is pleased to announce a new release of 3CX Phone System 10, build 22686. Service Pack 5 fixes numerous 3CX Wallboard issues and also adds a new and important caller ID feature. To download …

Read the full story »
Releases

3CX Product Releases

VoIP How To

Technical tips to run your VoIP PBX more efficiently

Events

3CX Trainings and Webinars around the world

Docs & FAQ

3CX Documentation how to and FAQ

Phone configuration

3CX, Aastra, Cisco, Yealink, Grandstream, Polycom configs

Home » VoIP How To

How can I view SIP traffic with the Wireshark Network Capture tool?

Submitted by on March 4, 2009 – 5:42 pmNo Comment

To troubleshoot or analyze a particular problem, it is often handy to take a closer look at the actual SIP traffic being sent to and from 3CX Phone System or the 3CX VOIP client.

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 that STUN requests are being made
  • 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

In addition, 3CX Tech support might request that you create a SIP capture so as to analyze an issue in more detail.

Wireshark interface selection

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. Now enter the term ‘sip’ in the filter edit box in the main screen.
  5. Make a call or reproduce the particular action that you wish to analyze (for example registration with a VOIP provider, or an outbound call via a VOIP provider)
  6. 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:

  1. When saving the capture, make sure that in the “Packet Range” section at the bottom of the “Save” dialog, you select the options labelled “Captured” and “All Packets” – this way the Support team can know if any other traffic is interfering with your main SIP traffic, or if, for example, a STUN or DNS or HTTP request failed for some reason.

Comments are closed.