Lessons / Lesson 11, Gibson & Shelley, Ch. 3
Internet calls: VoIP, SIP, RTP and SRTP
An internet call needs a doorbell to start it (SIP), a conveyor belt to carry your voice (RTP), and a locked tunnel so nobody listens in (SRTP).

Tap any panel to explore it.
Like you’re 10
Remember the tin-can telephone, two cans joined by a string? VoIP is the same idea, except the string is the internet, and your voice is chopped into tiny pieces that race across it and get stuck back together on the other side.
Three helpers make it work:
SIP is the doorbell. It rings your friend’s phone, asks “Do you want to talk?”, and when you’re done it says goodbye and hangs up.
RTP is the conveyor belt. Once you’re talking, it carries the pieces of your voice, each with a number stamped on it, so your friend’s phone can put them in the right order.
SRTP is the conveyor belt inside a locked glass tunnel. Your voice still travels the same way, but anyone peeking in only sees scrambled pieces.
Grown-up version
VoIP (Voice over IP) carries voice calls over IP networks instead of traditional phone lines. A call uses two kinds of traffic: signalling to set it up, and media to carry the sound.
| Protocol | Job | Port | Secure version |
|---|---|---|---|
| SIP (Session Initiation Protocol) | Signalling: start, change and end the call | 5060 | SIP over TLS (SIPS), 5061 |
| RTP (Real-time Transport Protocol) | Media: carries the audio and video, usually over UDP | Dynamic, agreed during setup | SRTP |
| SRTP (Secure RTP) | Encrypted, authenticated media with replay protection | Same as RTP | — |
Two things people get wrong:
- RTP doesn’t guarantee delivery or order. It runs over UDP and stamps each packet with a sequence number and timestamp so the receiver can reorder and time them. Packets that arrive too late are simply dropped, which is better than a delayed conversation.
- Encrypting SIP alone isn’t enough. SIPS protects the call setup, but the voice itself is only protected if the media uses SRTP. A secure call needs both.
Threats to know: eavesdropping on unencrypted calls, toll fraud through hacked phone systems, caller ID spoofing behind phone scams (vishing), and denial of service against the phone system.
A real-world example
In 2023, attackers broke into 3CX, a company that makes calling software used by hundreds of thousands of businesses. They slipped malware into an official 3CX desktop app update, so customers installed it themselves, trusting it because it came from the real supplier. This kind of attack is called a supply chain attack.
Why a buyer cares
- The risk it reduces: eavesdropping on sensitive calls, surprise bills from toll fraud, and phone scams that spoof trusted numbers.
- Who owns it at a company: the IT or unified communications team, with security involved for regulated industries like finance and healthcare.
- What gets bought: cloud calling platforms (Microsoft Teams Phone, Zoom Phone, RingCentral), where encryption comes included, and session border controllers (Ribbon, AudioCodes) that act as a firewall for phone traffic.
- A good discovery question: “If someone broke into your phone system this weekend, how would you find out before Monday’s bill?”
The one thing to remember
SIP rings the doorbell, RTP carries the voice, and SRTP locks the tunnel. Encrypt both the doorbell and the voice.
Buyer score
4/10
Companies spend heavily on calling platforms, but the security piece is usually a feature inside them rather than a separate purchase.
- BudgetIs there a product category companies buy for this?
- 1.5/2.5
- PainDoes it cause breaches or outages people have heard of?
- 1/2.5
- PressureDo regulators, insurers or auditors demand it?
- 0.5/2.5
- OwnerIs there a clear buyer who is judged on it?
- 1/2.5
Check yourself
3 quick questions. Get them all right and this lesson is marked as learned.
1Which protocol sets up and ends a VoIP call?
SIP is the doorbell: it rings, agrees how to talk and hangs up. RTP carries the voice.
2What does SRTP add to RTP?
SRTP protects the media itself. The signalling needs TLS separately.
3Attackers break into a company’s phone system and run up expensive international calls. What is this called?
Toll fraud leaves the company with the bill. Vishing is a scam call aimed at a person.
Revision cards
For later: answer out loud first, then check.
1What does SIP do in a VoIP call?
It sets up, manages and ends the call: ringing the other side, agreeing how to talk, and hanging up. It doesn’t carry the voice itself.
2What does RTP do?
It carries the actual audio and video in real time. Each packet has a sequence number and timestamp so the receiver can put them back in order.
3What is the difference between RTP and SRTP?
SRTP is RTP with encryption, message authentication and replay protection, so calls can’t be listened to or tampered with.
4Which ports does SIP use?
5060 for unencrypted SIP and 5061 for SIP over TLS (SIPS).
5What is toll fraud?
When attackers break into a company’s phone system and use it to make large numbers of expensive international or premium-rate calls, leaving the company with the bill.
Your progress is saved on this device only.