VoIP stands for Voice over Internet Protocol. In plain terms, it means your voice travels as data over an internet or network connection instead of over a dedicated phone line. The data moves across the network like any other data.
Turning speech into data
When you talk into a VoIP phone or softphone app, the microphone captures the sound and turns it into a digital signal. A codec then compresses that signal so it uses less bandwidth. Common codecs include G.711, which is widely supported and has good voice quality, and Opus, which is efficient and used in many modern apps.
The compressed audio is split into small packets. Each packet carries a sequence number and timing information, so the receiving device can put the audio back in order.
Sending the packets
Packets travel through routers and switches like other data, and they do not always arrive at the same speed. The receiving phone uses a small buffer, sometimes called a jitter buffer, to smooth out those timing differences before it plays the audio.
Setting up the call with SIP
Before any audio flows, the devices need to set up the call. SIP (Session Initiation Protocol) handles this part. It covers the dialing, ringing, answering, and hanging-up steps. Once the call is set up, the audio usually travels separately over RTP (Real-time Transport Protocol).
Think of SIP as the setup and RTP as the conversation itself.
What you need for VoIP
- A VoIP phone or softphone app
- An internet connection with enough upload and download capacity
- A service, either a hosted VoIP provider or your own PBX
- A router or switch that can give voice traffic priority. This is helpful but optional for light use.
A single call with a common codec often needs roughly 100 kilobits per second in each direction, and some codecs need less. Several calls at once add up quickly, so check your upload speed in particular, because outgoing audio uses it.
What affects call quality
- Latency, the delay between speaking and hearing a reply. A common guideline is to keep one-way delay under about 150 milliseconds for comfortable conversation.
- Jitter, the variation in when packets arrive. Small amounts are smoothed out, but large swings cause choppy audio.
- Packet loss, when packets never arrive. Loss can cause dropouts or a robotic sound.
Free network utility software such as Wireshark can show packet timing and loss, which helps when calls sound poor. Inspect only traffic on networks you are allowed to examine.
VoIP compared with a traditional phone line
A traditional landline uses a dedicated circuit for each call. VoIP shares your data connection with everything else on the network. That has two practical effects:
- VoIP phones usually need power and internet service. Many stop working during a power or internet outage unless you have backup power and a backup connection.
- VoIP emergency calling may not send your exact location automatically. Check what your provider supports and keep your registered address current.
Is VoIP difficult to start with?
For a home or small office, a hosted VoIP service with a softphone app or a compatible desk phone is usually the simplest start. You need a stable internet connection and a provider that offers the calling features you want.