TryLearn More

Use SIP trunks, WebRTC & Apps

Slash your Phone Bill by 80%

When and How Can I Switch Off STUN Resolution?

STUN resolution is necessary for the PBX to understand what it’s public IP Address is, and what port mappings are in effect for Media (to attempt NAT traversal when port forwarding is not implemented). STUN resolution may be disabled when:

  • No External entities are in use (no bridges, voip providers, extensions)
  • Static Port Forwarding is in place for reliable media exchange with external entities (External Extensions, VoIP Providers, Bridges etc)

Disabling STUN may also be useful to resolve issues such as

  • very long delays for a call to be delivered
  • issues with 1 way audio

Disabling STUN resolution

  1. Click “Network” under “Settings” and click on the “STUN Server” tab.
  2. Enable the check box called “Turn off STUN server”.
  3. In the “Public IP to use in Contact and SDP” field enter the public IP address of your 3CX Server / Network.
  4. In the “Select Network Card Interface” drop down select the IP address of the 3CX NIC card that has access to the external network / internet OR that allows you to connect to your VoIP Provider / ITSP / CLEC
  5. Click “OK” at the bottom of the page.

Tweaking VoIP Provider settings so as not to use STUN

  1. In the 3CX Management Console, expand the “VoIP Provider” section in the left hand navigation panel.
  2. Click on the friendly name you gave your VoIP Provider.
  3. Now, expand the “Advanced” tab.
  4. In the option labeled “Which IP to use in ‘Contact’ field, select “Specified IP” and insert into the adjacent text box your Public IP Address.

Additional Information

Stun is irrelevant for PSTN Gateways because PSTN gateways are on the local network so they communicate to the 3CX Phone System using the local network interface not the public ip address.

It is always a good option to test the stun server before using it. 3CX provides it’s own stun servers ( and but it is very important that if you have a VoIP Provider from VoIP Company XYZ, to use the stun server address provided by VoIP Company XYZ. You can use the 3CX Stun server but probably the stun server of your VoIP telecom company will be closer to you and might have less traffic so the response you get back will be quicker.

More information about STUN

By |March 1st, 2009|Comments Off on When and How Can I Switch Off STUN Resolution?

Free for up to 1 year! Select preferred deployment:


for Linux on a $200 appliance or as a VM

Get the ISO


for Windows as a VM

Download the setup file

On the cloud

In your Google, Amazon, Azure account

Take the PBX Express