SIP ALG Debug Logging: New Feature for Troubleshooting

Options
Zyxel_Claudia
Zyxel_Claudia Posts: 194 image  Zyxel Employee
Network Detective-New Adventure Badge Network Detective Badge First Comment Friend Collector
edited November 14 in Other Topics

The latest firmware update brings a much-needed improvement to SIP troubleshooting on USG FLEX H Series firewalls. Network administrators can now enable SIP ALG debug logs, allowing for deeper analysis and quicker resolution of voice-related issues.

What’s the Problem This Solves?

Previously, when SIP (Session Initiation Protocol) issues occurred—such as one-way audio, failed call setup, or dropped VoIP sessions—firewall logs were limited. Admins had to rely solely on general event logs, which lacked the depth needed for effective troubleshooting.

What’s New?

With this update:

  • You can enable SIP ALG debug logs using a specific CLI command.
  • The firewall will generate detailed SIP-related logs.
  • These logs are saved under Maintenance > Diagnostic > System Log in the GUI.
  • Log rotation is supported: When a file reaches 2MB, it rolls to a new file (up to 3 files max)
image.png

How to Enable SIP Debug Logging

Step 1: Enable via CLI

Connect to the firewall via console or SSH, then enter the command to enable SIP ALG debug:

usgflex500h running sip# cmd _debug alg sip debug-level level debug

This increases the debug log for SIP ALG. It immediately starts dumping detailed SIP call logs to both the console and log storage.

Example

Within the debug log, you’ll see:

image.png
  • SIP messages (INVITE, 100 Trying, 180 Ringing, 200 OK, etc.)
  • SIP header details (Caller/Receiver)
  • SIP server IPs
  • Response codes (e.g., 480 Temporarily Unavailable)
  • NAT translations and ALG handling

Example use case:If a caller attempts a connection but the recipient is offline, logs will show call setup, SIP server response (480 Temporarily Unavailable), and media path details.