Wesloo
All topicsTopics

Telecommunications

How VoIP Works: Voice over Internet Protocol Explained

Short answer

VoIP (Voice over Internet Protocol) carries phone calls as data packets over the same networks that deliver web traffic, instead of holding a dedicated copper circuit open for the conversation. Your voice is sampled, compressed by a codec, addressed, and routed across the internet, then reassembled and played back at the other end. Because it rides on broadband you already pay for, it costs less than a traditional line and works from a desk phone, a laptop, or a mobile app.

Key points

  • VoIP converts speech into digital packets and sends them over IP networks rather than the circuit-switched telephone network.
  • A codec compresses the audio, SIP sets the call up, and RTP carries the media stream.
  • Calls that end on an ordinary phone number pass through a media gateway that converts packets back into a legacy telephone signal.
  • Call quality depends on latency, jitter, and packet loss far more than on raw bandwidth.
  • It needs power and a working internet connection, which is its main weakness compared with a landline.

VoIP, short for Voice over Internet Protocol, carries telephone calls as data. The fastest way to understand how VoIP works is to compare it with the circuit it replaces: a wire held open for the whole conversation becomes a stream of small packets that share the network with web pages, email, and video. The handset and the phone number stay familiar. The route the audio takes does not.

What VoIP Replaces

A landline call gets its own continuous electrical path. The telephone network reserves a 64 kbps channel in each direction and keeps it open whether anyone is speaking or not; long-distance charges follow distance and minutes. The audio stays analog from the handset to the local exchange, where it is digitized for the long haul and turned back into an analog signal near the destination.

VoIP drops the reservation. Audio is chopped into slices measured in milliseconds, each slice becomes a packet with an address on it, and packets travel independently. Two consecutive packets can take different routes and still arrive in time to be put back in order. Silence can be detected and suppressed, so a quiet stretch of a meeting uses less bandwidth than an argument. Billing follows data usage and licensing rather than distance, which is why a call to another continent often costs the same as a local one.

How VoIP Works, Step by Step

Every call follows the same pipeline, whether it starts at a desk phone or in a browser tab.

  1. Capture. The microphone turns changes in air pressure into a varying analog voltage.
  2. Digitize. An analog-to-digital converter samples that voltage thousands of times per second. Narrowband telephony traditionally samples 8,000 times per second; wideband codecs sample more often to preserve higher frequencies.
  3. Compress. A codec reduces the bitrate. G.711, the long-standing telephone codec, runs at roughly 64 kbps per direction, while newer codecs such as Opus scale down when the network is tight.
  4. Packetize. Each packet carries a short slice of audio, typically 10 to 30 milliseconds, plus IP, UDP, and RTP headers that identify the call and the packet order.
  5. Route. Routers forward the packets across the public internet or a private network. Congestion can delay them, and they may arrive out of sequence.
  6. Reassemble. A jitter buffer at the far end sorts packets back into order and absorbs small timing differences. The decoder rebuilds the audio waveform and the speaker plays it.

Calls that end on an ordinary phone number need one more stage. A media gateway sits between the IP network and the public switched telephone network, converting packets back into a signal the legacy network can carry and translating the signaling on both sides.

The Protocols Behind a Call

Two jobs are handled separately. Signaling sets up, modifies, and ends the call. SIP is the most common protocol for this; an INVITE message proposes a session, the far end answers, and both sides agree on codecs and addresses. Media transport is the job of RTP, which runs over UDP because a late packet is worse than a lost one for live audio. A retransmitted packet arrives after the listener has moved on, so the codec conceals a small gap instead. RTCP runs alongside RTP and reports loss and jitter so the endpoints can adapt.

Firewalls and network address translation can cause setup failures. Because the addresses written into SIP and RTP headers refer to private networks, clients use STUN or similar techniques to discover the public address their traffic actually leaves from.

What You Need to Place a Call

Four setups cover almost every deployment.

SetupConnectionTypical use
IP desk phoneEthernet cable into the router using an RJ-45 portReception desks, shared offices
Analog telephone adapterExisting handset into the adapter, adapter into the routerKeeping old phones in service
Softphone appLaptop or smartphone over Wi-Fi or mobile dataRemote and travelling staff
Browser clientWebRTC inside a browser tabSupport widgets and occasional calls

An IP phone looks like the desk set it replaced but plugs into a network port instead of a phone jack, which is the visible sign that the call is now one more application on the data network. All four setups depend on the same thing: a connection steady enough to deliver packets on time. Fiber optic links carry long-distance traffic with low delay, and the last few metres usually run over copper or Wi-Fi.

Where Call Quality Comes From

Three measurements decide whether a call sounds natural. Latency is the one-way delay, and beyond roughly 150 milliseconds people start talking over each other. Jitter is the variation in arrival times, which the buffer can absorb only by adding delay. Packet loss above a few percent produces clipped syllables and robotic artifacts that no amount of bandwidth fixes.

Mobile data works well where the radio signal is strong. 5G and LTE differ in latency and capacity, and a congested cell can raise both. Satellite connections are the hardest case: a geostationary round trip adds several hundred milliseconds before any voice processing begins, so calls connect but conversation feels stilted. Satellite internet has improved with lower orbits, yet it still trails a wired link for real-time audio.

Cost, Features, and the Trade-offs

The savings come from shared infrastructure. A business pays for bandwidth it already buys and for per-seat licensing instead of metered long-distance charges. Features that cost extra on a legacy PBX, such as voicemail-to-email, call forwarding, video conferencing, and a single number that rings a laptop and a mobile at once, usually come included in the service.

What you give up is independence. A VoIP call needs power and a working internet connection, so a router or an ISP outage silences the phones unless you keep a backup line or a mobile fallback. Emergency calling depends on a registered service address, because the network has no fixed physical line to locate. Fax machines and older alarm systems often need an adapter or a plain line to work reliably.

How VoIP Started

The first VoIP service appeared in 1995, when VocalTec released InternetPhone. It handled voice alone, had no video, and worked only when both callers were signed in to the same application. What changed the picture was broadband. Once homes and offices had always-on connections with capacity to spare, voice could ride along as just another data stream.

VoIP Versus a Traditional Line

AspectTraditional lineVoIP
PathDedicated copper circuitShared IP packets
Long-distance costMetered by distanceMostly flat, tied to data or seats
DevicesDesk handsetDesk phone, laptop, mobile, browser
During a power cutUsually still worksStops without backup power or internet
Moving officeRewiring and a new numberNumber follows the device

The comparison favours VoIP wherever staff are spread out or call volume is high. A single desk in a building with unreliable power is the case where a plain line still earns its place.

Questions people also ask

Can I keep my existing phone number with VoIP?

Usually yes. Most providers can port a number from a landline or mobile carrier, though the transfer can take days and depends on the number being active and registered in your name.

Does VoIP work without an internet connection?

No. Without a path for the packets there is no call, which is why many businesses pair VoIP with a mobile fallback or a backup line for outages.

Why does a VoIP call sometimes sound robotic?

That is usually packet loss or jitter on the network. The codec fills the missing audio with an approximation, and heavy loss leaves audible artifacts that more bandwidth alone will not cure.

How much bandwidth does one VoIP call need?

A standard narrowband call typically stays under 100 kbps in each direction once headers are counted. Wideband and video sessions need considerably more.

Is VoIP the same thing as a video meeting app?

They share the same packet-based approach. VoIP traditionally describes voice sessions, while video conferencing adds a camera stream that consumes far more bandwidth.

Related pages

  • Circuit Switching vs Packet Switching Explained

    Circuit switching reserves a fixed path and its bandwidth for one session, so delay stays predictable but capacity sits idle when the session is quiet. Packet switching splits data into independently routed packets that share links, so bandwidth is used more efficiently and the network scales well, while queuing can add delay, reordering, or loss. The better choice depends on whether the traffic is steady and time sensitive or bursty and varied.

  • Radio frequency spectrum allocation for telecommunications

    Governments designate frequency bands for defined radio services and set sharing conditions, then license individual stations or networks to use those bands under technical limits. International coordination through the ITU Radio Regulations keeps national tables compatible across borders, while in the United States the FCC manages non-federal use and NTIA manages federal use.

  • How cellular roaming works: towers, handoffs and costs

    Your phone roams when it cannot use its home carrier and instead registers on a partner or foreign network that has an agreement with that carrier. Tower handoffs move the active connection between cells as you move, while roaming moves the relationship itself to a visited network while the home account still works for calls and data. Costs and controls depend on the plan, so Wi-Fi calling and day passes matter before you travel.

  • SIM vs eSIM: How Physical and Embedded SIMs Differ

    A physical SIM is a removable card that holds your carrier credentials, while an eSIM is a chip built into the phone that receives its profile remotely. The two connect you to the same networks, but they differ in how fast you can switch plans, how many lines one device holds, and how the line behaves if the handset is lost. Which one suits you depends on whether you value instant digital switching or the ability to move a card between phones.

  • Undersea Fiber Optic Cables: How They Work

    Undersea fiber optic cables are armored cables full of glass strands, laid on the seabed to carry nearly all international internet traffic between continents. Signals travel as light, boosted by repeaters that draw power from the shore, and the design has to survive pressure, salt water, anchors and trawler gear for decades. When a cable does break, traffic reroutes and a repair ship splices the fibers back together at sea.

  • How Satellite Internet Works: Technical Guide

    Satellite internet routes user traffic by transmitting signals between local antennas, orbital spacecraft, and ground stations tied to the internet backbone. Modern low-Earth-orbit constellations use high-frequency radio beams and optical inter-satellite laser links to pass data across space with low latency. Ground stations complete the loop by pulling web traffic from land-based servers and transmitting it back into orbit.

How this page was prepared

Before writing, the topic was researched in the sources below. The page then passed automatic quality checks.

Report a mistake on this page