Enabling SIP on Fortinet devices

Yesterday (08/08/2013) I came across an issue whereby a set of users had migrated from a standard DSL connection to a VLAN within our corporate network, which resulted in a strange issue with their VoIP phones.

After the migration was complete the users were able to place calls successfully BUT when receiving calls the users were able to hear to the caller but the caller was unable to hear the receiver.  the caller would hear the call ringing then being collected, at this point the line would then seem as if it was dead.  After a bit of investigation it appeared that inbound voice traffic was being blocked for some reason.

The CauseThe cause of this issue appears to be a session-helper which is enabled by default on Fortinet devices.  We tested on two Fortinet devices and the issue was replicated over both Fortinet models.   The devices tested where:
  • Fortigate 20c ADSL router
  • Fortigate 300c Firewall
The Permanent Fix

To resolve the issue we had to complete the following:
    • SSH onto Fortinet device
    • Run the following command:
      • show session-helper
    • Use the spacebar to navigate through the list of session-helpers, locate sip and take note of the ID.  ID 13 in my case:
      • edit 13
      • set name sip
      • set port 5060
      • set protocol 17
      • next
    • Run the following commands to remove this session-helper
      • config session-helper
      • (session-helper) delete 13
      • (session-helper) end
    • Reboot Fortinet device in order for the above changes to take effect
The above sequence were the only steps I had to complete to get the inbound voice calls to fully work.  If you continue to have issues after completing the above steps then please take a look at the official Fortinet Knowledge Base entry:

Fortinet Devices - Enabling the SIP Application Layer Gateway (ALG)

Comments

Popular posts from this blog

Add Multiple Alias Email Addresses to Exchange Online/Office 365 Mailbox

WHM/cPanel/Exim Mail Server // Relaying email for specific domain(s) or email address to SMTP Smart Host or remote SMTP server

Re-instating "Send As" privilege Windows 2003 Server // GOOD ForEnterprise