top of page

How to Get Syslog and Ethernet Packets from Grandstream Devices (using Wireshark)

Updated: Dec 23, 2021



If you are new to telephony networking and troubleshooting, this guide shows you step-by-step in setup and configuring the parameters to capture the packets locally in Grandstream devices.


Description

When we run into telephony issues (for eg. no audio, BLF keys are not working, unable to make calls, etc), in order to have the Support and Developer teams identify the root cause, we need to get logs from the phones.

There are 2 types of troubleshooting tools built-in Grandstream devices:

a. Ethernet Packet (available in most of the IP telephony devices)

b. Syslog (available in all models)



 

Syslog Utility tool


Recently, we have added a Syslog Utility - a Windows tool to collect Grandstream products syslog for troubleshooting purpose.

 

System Requirements

a. A laptop or PC

b. Networking switch

c. Phones

 

Getting Started: How to Capture Syslog

Step 1: Download Wireshark to your laptop or PC. Then, connect your phones to a laptop via a networking switch or make sure they are in the same LAN network.




Step 2: Log in to the phone's Web GUI > Maintenance > Syslog and configure the following

  • Syslog Protocol: UDP

  • Syslog Server: IP address of your laptop (which has the Wireshark app installed)

  • Syslog Level: DEBUG

  • Send SIP Log: Yes

Step 3: Click Save and Apply, followed by a Reboot to take effect immediately.




Step 4. Next, launch the Wireshark application, select the correct Interface and click Start


Step 5. Apply the filter 'syslog && ip.addr == <Phone's IP>' to make sure you capture the live Syslog messages of the phone

Step 6. Now, reproduce your issue

Step 7. Once it completes, click the Stop button and save as pcap format


**NOTE: You may configure Syslog Server: http://syslog1.grandstream.com/. Grandstream Support team would retrieve the files from internal portal. Make sure your phones are able to access the URL.

 


How to do Packet Capture (for the phones)


Step 1: Go to phone's Web GUI > Maintenance > Packet Capture

  • Capture Location: Internal Storage

  • With RTP Packets: Yes (for audio issues)

  • USB Filename: (if you are select USB)

Step 2: Click Start

Step 3: Replicate the issue

Step 4: Click Stop and Download




 

The figures below show Syslog and Packet Capture settings of different models.


IP Voice Telephony - GXP16XX


IP Voice Telephony - GXP17XX & GXP21XX



IP Voice Telephony - GRP260X




IP Voice Telephony - GXRP261X



IP Voice Telephony - WP810


WP810 How To Use Internal Syslog Capture
.
Download • 289KB


IP Voice Telephony - DP75X




Facility Management - GDS3710 & GSC361X's Debug Log



Facility Management - GDS3705




Gateways and ATAs - GXW41XX




Gateways and ATAs - GXW42XX's Syslog and Packet Capture




Gateways and ATAs - HT8XX



Video Conferencing - GVC32XX's Syslog & Debug Log




 

Grandstream IP PBX UCM



Grandstream UCM has built in troubleshooting tools under Maintenance tab. They are :

  1. SYSLOG

  2. Network Troubleshooting


Click here to read more on the UCM troubleshooting tools.




638 views0 comments

Recent Posts

See All

GXW410X Caller ID Detection with 3CX

Description We've always seen issue using GXW4104/4108 for not identifying caller ID on the incoming call. Here are some steps you may want to go through during the troubleshooting. General Troublesho

bottom of page