Known Issues:
- SIP ALG is enabled by default, but it can be disabled.
- RTP processing causes call and fax audio issues. Therefore, that setting needs to be disabled.
- DNS relay/proxy is disabled by default but it can be enabled. You will need to verify it is disabled to prevent just Polycom phones from experiencing intermittent DNS lookup timeouts.
- If the DHCP DNS Servers are set to the same addresses as the System (WAN) DNS servers, it activates a FortiGate software issue that causes DNS Server addresses (DHCP option 6) to not be passed to the phones.
- This causes Vertical phones to get stuck in Configuring mode.
- It causes Polycom phones to show Line Unregistered, URL Calling Is Disabled, Unknown Network Error, Invalid Hostname, a Red Triangle with an Exclamation point in the middle, and other Polycom errors that cause the phone to be unable to make/receive calls.
- All inbound and outbound audio can be blocked by the firewall’s application control settings.
Resolution:
- The instructions below may vary depending on the model and firmware version of your FortiGate device.
- Log in to the FortiGate.
- If you cannot log in or cannot find the settings below, you will need to email the instructions below to your IT or contact FortiGate Technical Support for help making the changes.
- Open the command-line interface (CLI) from the dashboard or connect via an SSH client.
- Enter the following commands in FortiGate’s CLI:
-
- Use the following commands for a device on FortiOS starting at 6.2.2
config system settings
set sip-expectation disable
set sip-nat-trace disable
set default-voip-alg-mode kernel-helper-based
end
- For devices below FortiOS version 6.2.2 use the following commands
config system settings
set sip-helper disable
set sip-nat-trace disable
set default-voip-alg-mode kernel-helper-based
end
- If you encounter an error while entering
set default-voip-alg-mode kernel-helper-based
go ahead and ignore it - The rest of the configuration will be the same for all FortiOS versions
- Run the following commands
config system session-helper
show
- Here you will want to find the entry for SIP, this is typically 12 but it may differ depending on the software version and model
delete
12
- Alternatively, use the entry you found in the previous step
end
- Enter the following commands in the CLI to disable RTP processing
config voip profile
edit default
config sip
set rtp disable
end
end
- Once done go ahead and reboot the device, Fortigate firewalls do not require a reboot when you change configuration but in this case, we will need the reboot to activate the session helper changes
- Lastly, reboot all of your SIP Devices/Phones
-
- The following step is only needed if you have or plan to purchase Polycom phones and you are using your FortiGate as your DHCP server on your local network:
- In the FortiGate web interface -> expand the Network section on the left-hand side of the page -> click on Interface.
- Under DHCP Server > DNS Server > make sure the Same as System DNS is selected.
- Under the Network section on the left-hand side of the page > click on Interface> DNS Settings > set it to Specify > set the following:
- Primary DNS Server: 8.8.8.8
- Secondary DNS Server: 8.8.4.4
- Click Apply to save.
- If you cannot find the DNS settings above, then try to change the DNS settings using the command-line interface (CLI):
- Go back to the dashboard and open the CLI and enter the following commands:
- config system dns
- set primary 8.8.8.8
- set secondary 8.8.4.4
- set cache disable
- end
- Go back to the dashboard and open the CLI and enter the following commands:
- If you cannot find the DNS settings above, then try to change the DNS settings using the command-line interface (CLI):
- Reboot the FortiGate device again and all of the phones on the network.
- You may also need to reboot all your computers and other devices on your network if they lose the internet connection to clear their DNS cache and/or you can run the following Windows command to clear the DNS cache manually:
- ipconfig /flushdns
- In the FortiGate web interface -> expand the Network section on the left-hand side of the page -> click on Interface.
- Select Security Profile > Application Control > Uncheck Video/Audio and save your changes.
- There may be other settings that they need to configure depending on the FortiOS version that you're using. If firewall-related phone issues persist, contact your IT or FortiGate Technical Support.
Note: if you are running FortiOS 5.2 or 5.4 you will need to disable VoIP inspection. To do so, refer to the steps described in FortiNet Knowledge Base Article Disabling VoIP Inspection.