top of page

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

Updated: Dec 23, 2021


ree

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)


ree

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.


ree


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.

ree



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


ree

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

ree

Step 6. Now, reproduce your issue

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

ree

**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

ree




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


IP Voice Telephony - GXP16XX

ree

IP Voice Telephony - GXP17XX & GXP21XX


ree

IP Voice Telephony - GRP260X


ree


IP Voice Telephony - GXRP261X


ree
ree

IP Voice Telephony - WP810



ree

IP Voice Telephony - DP75X


ree


Facility Management - GDS3710 & GSC361X's Debug Log


ree

Facility Management - GDS3705


ree


Gateways and ATAs - GXW41XX


ree


Gateways and ATAs - GXW42XX's Syslog and Packet Capture


ree

ree

Gateways and ATAs - HT8XX


ree

Video Conferencing - GVC32XX's Syslog & Debug Log


ree

ree

Grandstream IP PBX UCM


ree

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.




Recent Posts

See All

Comments


We have moved!

 Please visit tanshiyiing.com for more latest blogs.

  • LinkedIn Social Icon
bottom of page