How VoIP Works: An Intuitive Guide to SIP, RTP and What Happens in One Call
Your voice becomes about 50 numbered postcards a second. SIP is the handshake, RTP is the conversation. Here's one call from start to finish, with diagrams you can play.

VoIP in one minute
VoIP (Voice over Internet Protocol) means making a phone call over the internet. Your voice is turned into data, cut into tiny packets, and sent across the same network as your emails and videos. Every VoIP call relies on two protocols working together:
- SIP sets up the call: who's calling whom, and how they'll talk. Then it ends the call when someone hangs up.
- RTP carries the voice: about 50 packets a second, each holding 20 ms of audio, in both directions.
I first put this explanation together for a tech session with my team, because at work I help build an AI calling product, and VoIP is the ground it stands on. Below is the same session, with diagrams you can play.
What is VoIP?
A traditional phone call reserves a dedicated line between two phones for the whole call. VoIP doesn't. Your voice is turned into data and sent over the internet, the same road your emails, photos and videos take. No phone line needed.
Think of it like this
Instead of one long letter, your voice is sent as ~50 numbered postcards every second. The other side puts them back in order and plays them.
Every VoIP call needs two things
Strip a call down and it has two jobs. First, something has to set the call up: find the other person, ring their device, and agree on how the two of you will talk. Then something has to carry your voice, quickly and continuously, for as long as you talk. VoIP gives each job to a different protocol.
01
Set up the call
Who to call, where they are, and how to talk. Starts, manages and ends the call.
SIP · Session Initiation Protocol
02
Carry the voice
Once connected, move the actual audio back and forth, packet by packet.
RTP · Real-time Transport Protocol
SIP is the handshake. RTP is the conversation.
SIP: how a VoIP call is set up
SIP (Session Initiation Protocol) is the signalling protocol. It sends short text messages back and forth, a bit like a very polite conversation between two phones. Press play to watch a full call from start to finish:
INVITE
180 Ringing
200 OK
ACK
- Voice flows both ways (RTP)
BYE
200 OK
The same call flow, step by step:
- INVITE: you ask to start a call, and describe how your phone can talk (SDP).
- 180 Ringing: the other side's phone is ringing.
- 200 OK: they answer, and describe how their phone can talk.
- ACK: you confirm. The call is connected.
- RTP: voice flows both ways until someone hangs up.
- BYE and 200 OK: one side hangs up and the other confirms.
RTP: how your voice travels
RTP (Real-time Transport Protocol) carries the audio. Your voice is chopped into packets of about 20 milliseconds each, so roughly 50 packets leave your phone every second. Each one carries a sequence number (so the receiver can put them back in order) and a timestamp (so it can play them at the right moment).
RTP usually runs over UDP, which doesn't resend lost packets. That sounds like a flaw, but it's a deliberate choice: a packet resent half a second later would be useless in a live conversation. It's better to skip a 20 ms gap than to freeze the whole call. To absorb small delays, the receiver holds a few packets in a jitter buffer before playing them.
How a VoIP call works: from your mouth to their ear in 4 steps
Put SIP and RTP together and here's what happens to every word you say, dozens of times a second:
01
Capture
The mic records your voice as sound waves.
02
Compress
A codec shrinks the sound into small digital data.
03
Send
Cut into packets of 20 ms each and shot across the internet.
04
Rebuild
The other side puts packets back in order and plays them.
The whole trip should take under 150 ms, about the blink of an eye.
That 150 ms target comes from the ITU-T's guidance on one-way delay for calls: below it, conversation feels natural. Above it, people start talking over each other.
SIP vs RTP: what's the difference?
If you remember one line from this post, make it this one: SIP is the handshake. RTP is the conversation.
| SIP | RTP | |
|---|---|---|
| Job | Sets up, changes and ends the call | Carries the actual audio |
| When it works | Before and after the conversation | During the conversation |
| What it sends | Text messages: INVITE, 200 OK, ACK, BYE | Audio packets, ~50 per second |
| Usually runs over | UDP or TCP (often port 5060) | UDP, on ports agreed in SDP |
| If a message is lost | It is resent | It is skipped; resending would arrive too late |
| Analogy | The handshake | The conversation |
Why VoIP calls sometimes sound bad
Almost every bad call comes down to one of three network problems:
- Packet loss: some packets never arrive, leaving tiny gaps. You hear clipped words or a robotic sound.
- Jitter: packets arrive at uneven intervals or out of order. A small jitter buffer fixes this; heavy jitter overwhelms it.
- Latency: packets take too long. Past about 150 ms one way, you start interrupting each other.
That's also why a slow but stable connection often sounds better than a fast but unstable one. A voice call needs very little bandwidth, roughly 30 to 100 kbps each way, but it needs that bandwidth consistently.
Where you use VoIP every day
Probably more often than you think. WhatsApp and Messenger calls, Zoom, Google Meet and Teams, most office phone systems, and many call centres all run on VoIP. Messaging apps often use their own signalling instead of SIP, but the shape is the same: set the call up, then stream small packets of compressed voice both ways. The newest example is AI calling, where software answers and holds a phone conversation, and it sits on exactly the same SIP and RTP foundations described here.
Frequently asked questions
What is VoIP?
VoIP (Voice over Internet Protocol) is a way of making phone calls over the internet instead of a traditional phone line. Your voice is turned into digital data, cut into small packets, sent across the internet like any other data, and played back on the other side.
How does a VoIP call work?
A VoIP call has two parts. First, a signalling protocol, usually SIP, sets up the call: the caller sends INVITE, the other side replies 180 Ringing and then 200 OK when they answer, and the caller confirms with ACK. Then RTP carries the voice: the microphone audio is compressed by a codec, cut into packets of about 20 ms each (around 50 per second), sent over the internet, and put back in order and played by the receiver. When someone hangs up, SIP sends BYE to end the call.
What is the difference between SIP and RTP?
SIP (Session Initiation Protocol) sets up, manages and ends a call: it decides who is calling whom and agrees how they will talk. RTP (Real-time Transport Protocol) carries the actual audio once the call is connected. A simple way to remember it: SIP is the handshake, RTP is the conversation.
Does VoIP need a phone line?
No. VoIP only needs an internet connection. Your voice travels the same way as emails, photos and videos. VoIP calls can still reach regular phone numbers through a gateway that connects the internet to the phone network.
Why does a VoIP call sound choppy or robotic?
Usually because of the network. Packet loss means some voice packets never arrive, which leaves tiny gaps. Jitter means packets arrive at uneven intervals or out of order. High latency, above roughly 150 ms one way, makes people talk over each other. A jitter buffer on the receiving side smooths out small delays, but it can't recover packets that were lost.
How much internet speed does a VoIP call need?
Very little. A voice call typically uses roughly 30 to 100 kbps in each direction, depending on the codec. A stable connection with low delay matters much more than raw speed.
Is WhatsApp calling VoIP?
Yes. WhatsApp, Zoom, Teams and similar apps all send your voice over the internet, which is VoIP. Many of them use their own signalling instead of SIP, but the core idea is the same: set up the call, then stream small packets of compressed audio in both directions.
Is VoIP secure?
It can be. SIP can be encrypted with TLS (often called SIPS, usually on port 5061), and the audio can be encrypted with SRTP, the secure version of RTP. Most modern calling apps encrypt both.