Reseller Portal

VoIP Traffic and Network Ports

Have you ever wondered how the internet differentiates between different types of data; digital voice signals, websites, emails and so on? The answer can be as simple as how the post office works and deliver different types of parcels to people. It’s been done using ports’ numbers.

What are ports and how do they work?

Every single data from the outside world has a destination port attached to it, exactly like how parcels are categorised to boxes, mail, fragile items, etc. This makes it easy for the server to sort its traffic and deliver data to the correct destination (the service). There are 65535 possible ports, so a server can have many different services listening on different ports. For example, web servers traditionally listen on port 80 for http and port 443 for https.

VoIP traffic is no different in that; a VoIP server must listen in on a port for its incoming traffic from VoIP phones and the upstream telco.

 

Suggested next article >> VoIP and software integrations

 

What port does VoIP listen to?

The industry standard port for VoIP traffic is 5060. Usually when connecting your desk phone to a server, the port is already set to 5060 by default so you don’t need to enter it.

What port a server listens to is not set in stone though. Many people choose to change from port 5060 to a random different port. This has the advantage of avoiding traffic from malicious bots attempting to attack VoIP servers. These bots are nearly always designed to probe for servers on port 5060, so a server listening on a different port will not see this traffic.

The other advantage to using a non-standard port is that you can have many VoIP servers on one piece of hardware, all listening on different ports for different customers. This reduces costs and makes more efficient use of the server resources.

A reseller for VIP VoIP needs to know the port the server is listening on so that they can configure the VoIP phones for new customers.

Types of VoIP Traffic

VoIP traffic comes in two types:

1- Control traffic; also known as Session Initiation Protocol (SIP). This traffic is used for registering extensions to a server, making and receiving phone calls, subscribing to voice mail updates etc. Control traffic does not contain any audio.

2- Audio traffic. This traffic is purely for audio. Once setting up a call is done via SIP, then both sides begin sending audio traffic on separate ports to the SIP traffic. A single VoIP call will need four ports at the server. Two for receiving and two for sending to each side of the conversation.

TCP and UDP and TLS

SIP traffic generally tends to use the User Datagram network protocol (UDP) to traverse the internet. UDP has the advantage of being light on resources as it is connection-less. With this protocol, there is little overhead in error checking and servers and clients do not have to negotiate connections with each other in order to send traffic.

UDP has some distinct disadvantages though. For one there is very little error checking performed, it is possible for traffic to be corrupted in transit, or simply not arrive at all. All VoIP UDP traffic is sent in plain text as well. Anyone eaves dropping on the traffic can recover passwords easily.

We recommend using Transmission Control Protocol (TCP) with TLS to connect phones to a VoIP server. TCP has the advantage of being connection based, with good error checking and retransmission. This makes control traffic (such as notifying a phone of an incoming call) between server and client much more reliable. The addition of TLS encrypts the traffic making eaves dropping incredibly difficult.

Get in Touch

If you’d like to find out more about VIP VoIP, how it works and whether it’s the right system for your business, then get in touch with us today and we’ll do our best to give you an honest advice.

You can call us on 03300881182 or send us an email at sales@vipvoip.co.uk

 

 

Search

Categories

Archives

Archives