Maxotel

Disabling SIP ALG - Mikrotik Routers

Support Centre Troubleshooting Articles SIP ALG Disabling SIP ALG - Mikrotik Routers


Note that this process will reboot your router - which will temporarily take your internet connection and phone service offline. 

We recommend doing this in an off-peak period or outside of business hours.

Learn more about SIP ALG in our knowledge base article here: SIP ALG


SIP ALG on Mikrotik Routers:


While SIP ALG often doesn't cause issues on Mikrotik routers, it can start to become problematic at scale, or with devices from certain vendors.

It is always recommended to ensure you are on the latest stable RouterOS and device firmware version.


Disabling SIP ALG:

  1. In Winbox or Webfig, navigate to IP > Firewall > Service Ports
  2. Locate the SIP line and disable it (as below)
  3. Restart the router
  4. Restart the phones

You will need to restart the router after disabling SIP ALG for the change to take effect.



Workaround for Stale NAT Mappings:

Some connection problems may be caused by stale NAT mappings.  For example, if the public IP on your external internet connection has changed.

This procedure may fix some issues without the need to reboot the router.


To clear a stale NAT Mapping in Winbox...

  1. Navigate to IP > Firewall > Connections
  2. Select all current connections (Control + A)
  3. Click the red Minus button
  4. Reboot the affected phone(s)

Note that this is only a workaround and the issue will likely re-occur.  You will need to disable SIP ALG as above to resolve the issue long term.