Description | This article describes what and how to check in the sip debugs and session table for no or one-way audio over SIP calls. |
Scope | FortiGate. |
Solution |
For the SIP traffic from the phone on LAN to remote phone with SNAT enabled on FortiGate below will be the translated IP:
(IP header) src IP: 160.223.8.214(translated due to SNAT) (SDP header) connection IP inside the invite packet: 10.1.24.101- without sip helper (SDP header) connection IP inside the invite packet: 160.223.8.214- with sip helper or sip-alg
With the sip-helper or sip-alg the connection IP in the packet will also translate to the IP 160.223.8.214. The session-helper will create two expected/pin-hole sessions(timeout 30 secs) on FortiGate from source IP 96.48.132.250 to 160.223.8.214.
The SIP protocol utilizes separate control and data channels. For each call, it requires four data channels—two for each direction of communication.
Below commands to collect sip debugs:
diagnose debug disable diagnose debug reset
For the above flow below sip debugs shows FortiGate creating Pinhole session based on the RTP offer in the SDP header:
2025-06-14 15:10:25 sip sess 0x7fe968939000 vd 0 vrf 0 pinhole (nil) add UDP DNAT 96.48.132.250:0 -> 160.223.8.214:38593 (10.1.24.101:38737) To ensure a successful two-way audio call, there must be a session table entry for each pinhole:
tx speed(Bps/kbps): 0/0 rx speed(Bps/kbps): 0/0
tx speed(Bps/kbps): 0/0 rx speed(Bps/kbps): 0/0
If the session table doesn't show the same number of entries as the pinhole sessions, it can result in no audio or a one-way audio issue.
Related articles: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.