1. Home
  2. General Technical Details
  3. Disabling SIP ALG on a Ubiquiti USG4 Pro
  1. Home
  2. Technical Documents
  3. Disabling SIP ALG on a Ubiquiti USG4 Pro

Disabling SIP ALG on a Ubiquiti USG4 Pro

Below are the commands that will disable SIP ALG and set the UDP timeout on the USG:

  1. configure
  2. set system conntrack modules sip disable
  3. set system conntrack timeout udp stream 360
  4. set system conntrack timeout udp other 360
  5. commit
  6. save

You will also need to create a config.gateway.json file and put it in the root directory of your site on the controller.  The reason for this is that when the USG gets reprovision, it will wipe out any changes you’ve made in the CLI.  Here is how your config.gateway.json would look:

{
	"system": {
		"conntrack": {
			"modules": {
				"sip": {
					"disable": "''"
				}
			},
			"timeout": {
				"udp": {
					"other": "360",
					"stream": "360"
				}
			}
		}
	}
}

It is pretty straight-forward after you do it the first time.

Updated on April 19, 2021

Was this article helpful?

Related Articles