Categories: VoIP Education

Ask Mr. Andrews: Setting Up SIP Ports

Dear Mr Andrews:

Can you explain how to set SIP ports on modern popular hardware phones such as the medium priced (or are they entry level these days) Sipura/Linksys/Cisco line?

Why would you not use 5060? If you have several phones behind NAT on the same LAN, is there a logical way to set these? How does the other endpoint see this? Enquiring minds and all that… I shall wait here on ICE for a STUNning discussion in a future article.

Part of the problem with NAT is that there are several competing mechanisms for negotiating it, and the industry cannot seem to get behind a single, unified methodology. Until this happens, dealing with NAT will likely continue to be a pain in the butt.

STUN, ICE and TURN are three examples of solutions to issues inherent with SIP + NAT. STUN is not 100% reliable depending on the type of NAT you are dealing with. ICE builds upon STUN by allowing the device to use a range of ports and STUN techniques. However, ICE is not well supported. Media relay solutions like TURN can cause latency/QoS issues with VoIP, and are generally difficult to scale.

If you are behind NAT, you can set up port forwarding on your router/firewall to allow VoIP traffic to pass through. For SIP, use ports 5060 to 5070. For RTP audio, use port 8766 to 35000.

There are definitely some security concerns with port forwarding. Hacking tools such as SIPFlanker http://tinyurl.com/sipflanker are available as well as public posts detailing the default login credentials for many Sip devices http://tinyurl.com/sippasswords

When configuring Linksys devices behind NAT, there are a few things you want to be particular about. In the configuration UI, in the “SIP” Tab, make sure you have the following options set:
*******************************************************************
Substitute VIA Addr: yes
STUN Enable: yes
STUN Server:

In the “Ext 1” Tab, make sure you have the following options set:

NAT Mapping Enable: yes
*******************************************************************
Double check the NAT Keep Alive Interval setting on your Linksys phone and make sure it is set to a low value, ideally around 10-15 seconds. For more information on configuring Linksys phones for NAT, refer to (starting) page 59 of the phone administration guide here http://tinyurl.com/linksysspa.

Garrett Smith

Garrett is the former VoIP Supply CMO.

Share
Published by
Garrett Smith

Recent Posts

Watch Now: 2025 February VoIP News Update

https://youtu.be/N-lzdnATPgk?si=DSbuMOrj16Vm4B1v Your February VoIP News Update is here! up first this month is the brand-new…

3 days ago

LINKVIL by Fanvil W610H & W710H IPCT Multi-Cell Solution Webinar

https://youtu.be/n5ixmNJo62A?si=iJZ9FBON2586xgpG It's time to unleash mobility with LINKVIL by Fanvil's new multi-cell solution! This webinar…

4 days ago

How To: Upgrade & Save Money on IP Paging in Educational Environments

Before I was in digital marketing, I was a teacher. For 7/12 years I taught…

3 weeks ago

Snom D815 SIP Phone Product Feature Video & How to Connect to WiFi

https://youtu.be/kHJZnDYyQQ8?si=2ZLrtFUrnnidxWoq See the Snom D815 SIP Phone like never before in this exclusive Product Feature…

3 weeks ago

AudioCodes SBCs Receive FIPS 140-3 Certification: A Milestone in Secure Communications

AudioCodes Session Border Controllers (SBCs) have achieved a significant milestone by obtaining the FIPS 140-3…

4 weeks ago

Introducing Fanvil V66 Pro & V62 Pro: The Future of Flexibility with Bluetooth Cordless Handsets Webinar

https://youtu.be/i7c5v_wGpAY?si=wD9KrJ9gHXfUXjH2 Sit back, relax, and learn everything you need to know about the new Fanvil…

4 weeks ago