Skip to content
Answer Stack
Open menu

How does VoIP work?

✓ Verified Last reviewed by AnswerStack Next review due Oct 17, 2026

Every claim is sourced below

VoIP works by turning your voice into digital data, splitting that data into small packets, and sending the packets across an IP network such as the internet, where the far end reassembles them and plays them back as sound.[1] Two jobs run at once on every call: a signaling protocol, most often SIP, finds the other party and sets up, changes, or ends the call, while the audio itself travels in a separate stream of RTP packets.[2][3] Before it leaves your device, a codec such as G.711 or Opus samples your voice thousands of times a second and compresses it,[4][5][6] and at the far end a jitter buffer holds the packets briefly to smooth out their uneven arrival before they are decoded back into audio.[3][9] When the call is meant for a regular phone number, it passes through a media gateway that converts the IP audio into a standard telephone signal for the public switched telephone network.[1][11]

How does VoIP work?

VoIP works by carrying a phone call as digital data over an IP network instead of over the dedicated copper circuit a traditional line holds open for the length of a call.[1] Your voice is sampled, compressed, and cut into a stream of small packets, each addressed like any other piece of internet traffic, and the receiving device puts those packets back in order and plays them as sound.[1][3][12] Because the audio is just data, the same broadband connection that carries your email and video also carries your calls, and a call can start on a laptop or a desk phone and still reach an ordinary phone number.[1][11]

Two jobs on every call

Every VoIP call runs two separate processes at the same time. One is signaling, the work of finding the other party and setting up, changing, or tearing down the call, which is handled most often by the Session Initiation Protocol, or SIP.[2] The other is media, the actual sound, which travels in its own stream using the Real-time Transport Protocol, or RTP, with a sequence number and timestamp on each packet so the receiver can rebuild the audio in the right order.[3] Keeping these two apart is what lets a call negotiate which codec both sides speak before a single word of audio moves.

From your voice to the far end

Between those two jobs sits a fixed sequence that repeats on every call: your device registers with the phone system, a codec digitizes and compresses your speech, RTP ships the audio across the network, and the far end buffers, reassembles, and decodes it.[2][3][9] A call meant for a mobile or a landline takes one more step, passing through a media gateway that converts the IP audio into the signal the public phone network expects.[1][11] The sections below walk through that sequence one stage at a time.

A VoIP call moves through six stages, from the moment your phone joins the system to the moment audio reaches the person you called.[2][3] The table sums up the sequence, and the sections after it explain what happens at each stage and where it can affect call quality.

Stage What happens Protocol or component
Registration and setup Your device announces its address, then SIP rings the other party and negotiates the call SIP [2]
Digitizing your voice A codec samples and compresses your speech into a digital stream G.711, G.729, or Opus [4][5][6]
Packetizing and sending The stream is split into roughly 20 ms packets and sent over IP RTP over UDP [3][6]
Crossing the network Packets are routed to the far end, often through NAT traversal and traffic prioritization IP routing, ICE, STUN, TURN [10]
Reassembly and playout A jitter buffer reorders the packets and the codec decodes them back into sound Jitter buffer, codec [3][9]
Handoff to the phone network Calls to a normal number convert to a standard telephone signal Media gateway [1][11]

Registration and call setup

A VoIP call begins with registration, the step where your phone or app tells the phone system what network address to reach it at.[2] SIP handles this by letting a device publish its current location to a registrar, so the system knows where to send an incoming call even when the user moves between a desk, a home office, and a phone on cellular data.[2] When you dial, SIP sends an invitation to the other party, negotiates which audio formats both ends support, and then rings, connects, or ends the call.[2]

This stage decides whether a call can be reached at all and which codec the audio will use before any sound is sent, so it is worth getting right. If you run your own phone system, keeping SIP registration healthy, with credentials and network paths that stay open, is what prevents the common failure where a phone shows as online but never rings. Confirming that both ends share at least one codec during setup also heads off calls that connect with no audio.

Digitizing and compressing your voice

The next stage converts the sound of your voice into a digital stream a network can carry. A codec samples the audio at a fixed rate, turns each sample into a number, and compresses the result so it uses less bandwidth.[6] The long-standing baseline is ITU-T G.711, which samples speech 8,000 times a second and produces a steady 64 kilobits per second, the same quality a traditional phone line delivers.[4][6] G.729 compresses the same speech to roughly 8 kilobits per second for links where bandwidth is tight, at a modest cost in fidelity.[6]

The codec you use is a direct trade between sound quality and bandwidth, so the choice matters most on constrained or crowded connections. The Opus codec, designed for interactive audio, adapts on the fly from 6 kilobits per second up to 510 kilobits per second and includes packet-loss concealment, which is why many softphones and browser-based tools use it.[5] For calls that must cross onto the public phone network, an uncompressed path such as G.711 is often the safer choice, because heavy compression can distort the audio during conversion.[6]

Packetizing and sending the audio

Once your voice is digitized, the device slices the stream into small packets and sends them across the network, typically wrapping about 20 milliseconds of audio into each one.[3][6] Those packets travel using RTP, which adds a sequence number and a timestamp to every packet so the receiver can play the audio back in the right order and at the right pace.[3] RTP rides on UDP rather than TCP, which means a lost packet is not retransmitted, because a late repeat of a 20 millisecond slice of speech would arrive too late to be useful.[3]

Sending audio in small, independent packets is what makes a brief network problem cost only a sliver of speech rather than the whole call. It also sets the bandwidth a call needs, because the headers that IP, UDP, and RTP add to every packet push a single G.711 call noticeably above its raw 64 kilobits per second, so sizing a connection means counting concurrent calls rather than looking at one call in isolation.[6]

Crossing the network and getting past firewalls

As the packets leave your device, they are routed across the IP network toward the other party, and on most business and home connections they first have to get past a NAT router and a firewall. Network address translation hides many devices behind one public address, so the private address your phone advertises inside a SIP message is not reachable from outside, which can leave a call connected with one-way audio or no audio.[10] The Interactive Connectivity Establishment framework, known as ICE, works around this by using STUN to discover a device's public address and TURN to relay the media when a direct path is blocked, then picking the best route the two ends can actually use.[10]

Because voice is sensitive to delay and loss, this stage is also where traffic prioritization earns its keep. Marking voice packets so routers handle them ahead of bulk data, and reserving enough upstream bandwidth for the number of simultaneous calls, is what keeps audio clean on a link that is otherwise busy with downloads and video.[9]

Reassembly, the jitter buffer, and playout

At the receiving end, packets rarely arrive at perfectly even intervals, so the device holds them briefly in a jitter buffer before playing them.[9] Jitter is the variation in packet arrival timing, and without a buffer that unevenness turns into choppy, broken audio.[9] The buffer collects a small backlog, reorders anything that arrived out of sequence, and hands a steady stream to the codec, which decodes the packets back into the sound the listener hears.[3][9]

Sizing the buffer is a balance, because a larger buffer hides more jitter but adds delay, and voice is sensitive to delay. A common target keeps jitter under about 30 milliseconds, beyond which callers start to notice the audio degrading.[9] If a packet never arrives, the codec conceals the gap rather than waiting for it, since a late replacement would land after its moment in the conversation has passed.[3] Watching jitter and loss on the receiving side is usually the fastest way to explain why a call sounded rough.

Handoff to the regular phone network

A call between two VoIP endpoints can stay on IP networks from start to finish, but a call to a mobile or a landline needs one more stage. The audio passes through a media gateway that converts the IP packets into the standard signal the public switched telephone network uses, and converts the return audio the same way.[1][11] This is why a VoIP service can keep your existing number and still reach anyone, whatever technology sits on the other end.

The gateway is also where regulation attaches. A service that lets you both place and receive calls to the public phone network over broadband meets the FCC definition of interconnected VoIP, which carries duties an app-only calling service does not.[11] For anyone choosing a provider, whether calls reach the regular network is the line that separates a full phone replacement from a service that only connects to other users of the same app.

What affects VoIP call quality?

Three network conditions decide whether a VoIP call sounds clear: latency, jitter, and packet loss.[8][9] Each traces back to the fact that voice is real-time data sharing a network with everything else, and each has a rough threshold worth watching.

Latency

Latency is the one-way delay between speaking and being heard, and it climbs with distance, slow links, and heavy processing along the path. ITU-T Recommendation G.114 sets the widely used target for one-way transmission time, and independent guidance puts the comfortable ceiling at about 150 milliseconds, above which callers begin talking over each other.[7][8] Delay between roughly 150 and 400 milliseconds is usable but noticeable, and past 400 milliseconds a conversation becomes hard to hold.[8]

Jitter

Jitter is the variation in how evenly packets arrive, and the jitter buffer on the receiving side absorbs a small amount of it.[9] Keeping jitter under about 30 milliseconds generally keeps audio smooth, and the practical fixes are prioritizing voice traffic and relieving congestion on the connection.[9]

Packet loss

Packet loss means some audio never arrives, and because voice runs over UDP those packets are not resent.[3] Modern codecs conceal small amounts of loss, but sustained loss produces clipped or robotic speech, so a link that drops packets under load needs its capacity or its traffic priorities examined before call quality will hold.[9]

What VoIP is not

VoIP is a method for carrying calls, not a single app or a specific device, and a few distinctions keep the mechanics clear.

It is not one protocol doing everything

Signaling and media are separate jobs. SIP sets up the call and RTP carries the sound, so a problem where calls connect but have no audio usually sits with the media path or a firewall, not with the part that made the phone ring.[2][3]

It is not the same as your cellular voice

Mobile calls on a modern network often travel as an IP voice technology the carrier runs inside its own system. It shares the packet idea with VoIP but is provisioned by the carrier, not set up as a business VoIP account, and it is not the interconnected VoIP service the FCC rules describe.[11]

It is not automatically a regulated phone service

Whether a VoIP service carries phone-company duties depends on whether it reaches the public phone network. An app that only calls other users of the same app is not held to the same 911 and consumer rules as a service that lets you place and receive calls to any number.[11]

This entry builds its explanation from the protocol standards and the regulation as written, rather than from any vendor's marketing. The roles of SIP and RTP come from the IETF documents that define them, the codec figures from the ITU-T G.711 recommendation and independent codec references, and the NAT traversal description from the ICE specification.[2][3][4][5][6][10] The latency and jitter thresholds are drawn from ITU-T G.114 and independent operational guidance, and the regulatory line for interconnected VoIP comes from the Code of Federal Regulations.[7][8][9][11] Where a business-facing point appears, such as sizing a connection or choosing a codec for the public network, it reflects common practice corroborated by independent sources rather than a single claim.[1][12] Standards and rules change over time, so the specific numbers here reflect what the cited sources said on the verification date. Engineers who build, regulate, or support VoIP are welcome to suggest corrections, which are checked against primary sources before any update.

This answer was written and reviewed by the AnswerStack Editorial Team, which has no commercial stake in the products, companies, or methods discussed. Every claim is cited inline and verified on the dates shown.

Sources

What is VoIP and how does it work?

AT&T Business

Independent Verified Jul 17, 2026 Supports: Plain-language description of how VoIP converts voice to a digital signal, sends it as packets, and reaches computers, VoIP phones, and the regular phone network

“VoIP is the technology that converts your voice into a digital signal, allowing you to make a call directly from a computer, a VoIP phone, or other data-driven devices.”

RFC 3261: SIP: Session Initiation Protocol

IETF

Primary source Verified Jul 17, 2026 Supports: SIP as the application-layer signaling protocol that registers endpoints and creates, modifies, and ends VoIP call sessions including internet telephone calls

“an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants.”

RFC 3550: RTP: A Transport Protocol for Real-Time Applications

IETF

Primary source Verified Jul 17, 2026 Supports: RTP carries the real-time audio with sequence numbers and timestamps so the receiver reconstructs timing and plays audio out, using the example of contiguous playout every 20 ms

“the RTP header contains timing information and a sequence number that allow the receivers to reconstruct the timing produced by the source, so that ... chunks of audio are contiguously played out the speaker every 20 ms.”

ITU-T G.711: Pulse code modulation (PCM) of voice frequencies

International Telecommunication Union (ITU-T)

Primary source Verified Jul 17, 2026 Supports: G.711 codec: PCM voice at 64 kbit/s, the toll-quality narrowband baseline; recommendation in force

“Pulse code modulation (PCM) of voice frequencies. Status: In force.”

RFC 6716: Definition of the Opus Audio Codec

IETF

Primary source Verified Jul 17, 2026 Supports: Opus scales from 6 kbit/s narrowband speech to 510 kbit/s stereo and is designed for interactive audio including Voice over IP

“It scales from low bitrate narrowband speech at 6 kbit/s to very high quality stereo music at 510 kbit/s.”

VoIP Codec Guide: G.711, G.722, G.729, Opus, AMR

TelcoBridges

Independent Verified Jul 17, 2026 Supports: G.711 samples at 8 kHz for a 64 kbps stream and is the PSTN codec; G.729 about 8 kbps; Opus 6 to 510 kbps with packet-loss concealment; roughly 20 ms real-time packetization

“Standardised by the ITU-T in 1972, it samples speech at 8 kHz and applies a simple logarithmic compression to produce a steady 64 kbps stream.”

ITU-T G.114: One-way transmission time

International Telecommunication Union (ITU-T)

Primary source Verified Jul 17, 2026 Supports: ITU-T recommendation defining acceptable one-way transmission time (delay) for voice; recommendation in force

“G.114 : One-way transmission time. Status: In force.”

Acceptable Latency For VoIP: Standards, Thresholds and Optimization

OpenMic

Independent Verified Jul 17, 2026 Supports: One-way latency bands referencing ITU-T G.114: under 150 ms optimal, 150 to 400 ms noticeable, above 400 ms unacceptable

“0-150ms (Optimal): Conversations feel natural, with no perceptible delay. ... 400ms+ (Unacceptable): Communication quality degrades rapidly.”

Network Jitter: How It Affects VoIP Phone Calls and How to Fix It

Nextiva

Independent Verified Jul 17, 2026 Supports: Jitter is the variation in packet arrival timing; a jitter buffer holds and reorders packets before playout; keeping jitter under about 30 ms preserves call quality

“Jitter is the time delay or variation in latency between the transmission and reception of data packets over a network.”

RFC 8445: Interactive Connectivity Establishment (ICE): A Protocol for NAT Traversal

IETF

Primary source Verified Jul 17, 2026 Supports: ICE traverses NAT for UDP media using STUN to discover public addresses and TURN to relay media when a direct path is blocked

“This document describes a protocol for Network Address Translator (NAT) traversal for UDP-based communication. This protocol is called Interactive Connectivity Establishment (ICE). ICE makes use of the Session Traversal Utilities for NAT (STUN) protocol and its extension, Traversal Using Relay around NAT (TURN).”

47 CFR 9.3, Definitions: Interconnected VoIP service

Legal Information Institute, Cornell Law School

Primary source Verified Jul 17, 2026 Supports: Interconnected VoIP defined as real-time two-way voice over broadband with IP-compatible equipment that receives calls from and terminates calls to the PSTN

“permits users generally to receive calls that originate on the public switched telephone network and to terminate calls to the public switched telephone network.”

6 Benefits of VoIP

Atlantech Online

Supporting Verified Jul 17, 2026 Supports: Corroborates that VoIP turns communication data into packets sent over the IP network instead of telephone lines; corroborated by [1] and [3]

“Instead of using telephone lines, all communication data is turned into packets and sent over the IP network.”

Revision history

2 revisions since publication
v1.1 Reviewed and re-verified.
v1.0 Published after editorial review.