Common VoIP Terms Explained
(Codec, Extension, PBX, Trunk, DID & More)
1. Introduction
Stepping into the world of VoIP (Voice over Internet Protocol) can feel overwhelming at first. You’ll quickly encounter terms like codec, extension, PBX, trunk, and DID and they might sound like confusing technical terms. In reality, these are the core building blocks that make VoIP systems run.
By understanding these terms, you’ll find VoIP much easier to grasp. Whether you’re setting up a small office phone system, managing IT infrastructure, or just curious about how internet calls actually work.
2. Quick Overview Table of VoIP Terms
Here’s a handy cheat sheet you can glance at before we dive deeper:
Term | Technical definition | Practical example / note |
|---|---|---|
Codec | An algorithm (encoder/decoder) that converts voice to digital packets and back. It determines sampling, compression, payload size, bitrate, CPU load and algorithmic delay, all of which affect audio quality and latency. Examples: G.711 (PCM, 64 kb/s, high quality), G.729 (~8 kb/s, compressed), Opus (adaptive, high quality for voice/music). | On a low-bandwidth link you might use G.729 to save bandwidth; on a LAN you often prefer G.711 for best quality. |
Extension | An internal dialable identifier (numeric or a SIP URI) inside a PBX that maps to a specific endpoint (desk phone, softphone, voicemail box, etc.). Extensions are part of the PBX dial plan. |
|
PBX | Private Branch Exchange - the private phone switching system that routes calls between internal endpoints and to/from external lines (trunks). Handles dial plans, routing, voicemail, IVR, queues, conferencing, and policies. Can be hardware, software (e.g., Asterisk, FreePBX, 3CX) or cloud-hosted. | A company PBX receives an incoming DID and routes it to extension |
Trunk | A communication link between a PBX and another telephony system (or provider). A trunk can carry many simultaneous call sessions (channels). Common trunk types: SIP trunk (IP), PRI/T1/E1 (digital), FXO/analog. SIP trunking uses SIP for signalling and RTP for media. | A SIP trunk from an ITSP providing 20 concurrent channels allows 20 simultaneous outbound/inbound calls. |
DID (DDI) | Direct Inward Dialing (Direct Dial-In): a public telephone number (or a range) assigned by a telco/ITSP to the customer’s trunk(s) so external callers can reach specific internal extensions directly. (In some regions called DDI.) | Telco assigns +1-555-123-4000–4009; the PBX maps +1-555-123-4001 → extension |
3. Detailed Explanations of Each Term
3.1 Codec (Coder–Decoder)
Definition:
A codec (short for coder–decoder) is a software algorithm or hardware component that converts voice into a digital stream for transmission over IP networks, and then decodes it back into audio at the receiving end.
In VoIP, codecs affect call quality, bandwidth usage, CPU load, and latency. Different codecs are designed to balance these trade-offs.
Common Codec Types:
G.711 (PCMU/PCMA): Uncompressed PCM audio, ~64 kbps per call. High voice quality, low CPU usage, but consumes more bandwidth. Standard on most IP phones and SIP trunks.
G.729: Compressed, ~8 kbps per call. Saves bandwidth, but requires more processing power and has licensing implications. Slight reduction in quality compared to G.711.
Opus: Modern, highly flexible codec. Adapts between narrowband and fullband audio, supports variable bitrates (6 kbps – 510 kbps), and is widely used in apps like Zoom, WhatsApp, WebRTC.
Analogy:
Think of a codec like a zip file for your voice. It compresses the audio so it travels efficiently over the internet, and the receiver “unzips” it back into sound.
Everyday Example:
Just like an MP3 codec compresses music for storage/streaming, a VoIP codec compresses live speech for transmission during calls.
3.2 Extension
Definition:
An extension is a short internal number (or identifier) within a PBX that represents a specific user, device, or service. Instead of dialing a full phone number, users can reach each other by dialing the assigned extension. Extensions can be numeric (e.g., 101) or alphanumeric/SIP URIs (e.g., sip:101@company.local).
Extensions are part of the dial plan in a PBX and can be linked to:
Desk phones (IP phones)
Softphones (apps on PCs or mobiles)
Voicemail boxes
Call queues or IVR menus
Example:
101→ Reception102→ Accounts103→ Sales
Analogy:
Think of extensions like apartment numbers inside a building. The PBX is the building, and each extension identifies a unique resident (user or device). To the outside world, there’s one main address (the company phone number), but internally, each apartment (extension) is distinct.
3.3 PBX (Private Branch Exchange)
Definition:
A PBX (Private Branch Exchange) is a private telephone system that allows organizations to manage calls both internally (between employees) and externally (to and from the public telephone network).
A PBX provides advanced features such as:
Call routing and forwarding
Voicemail
Call queues and ring groups
IVR (Interactive Voice Response) menus
Conferencing and call recording
Types of PBX:
Traditional PBX (Analog/Digital): Hardware-based systems connected to the PSTN (Public Switched Telephone Network) using analog or digital (ISDN/PRI) lines. Expensive and less flexible.
IP-PBX: Software-based systems (e.g., Asterisk, FreePBX, 3CX) that use VoIP protocols like SIP to route calls over IP networks. Can run on servers or in the cloud, making them scalable and cost-efficient.
Hosted/Cloud PBX: A provider hosts the PBX for you. Businesses access features via the internet without managing hardware or software.
Analogy:
Think of a PBX as your company’s own mini telephone exchange. Instead of every employee having a direct phone line to the outside world, all calls go through the PBX, which decides how to connect them.
Everyday Example:
When you call a company and hear an IVR menu like “Press 1 for Sales, Press 2 for Support”, that’s the PBX handling and routing the call. Internally, employees dial extensions (e.g., 101 for Reception) without needing external phone numbers.
3.4 Trunk
Definition:
A trunk is the communication link that connects a PBX to the outside world (the PSTN or a VoIP provider). Instead of having one dedicated line per call, a trunk can carry multiple call sessions (channels) over a single physical or virtual connection.
Types of Trunks:
Analog Trunk (FXO/FXS): Legacy method using plain telephone lines. Limited to one call per line.
PRI/ISDN Trunk: Digital trunking (e.g., T1/E1 circuits) supporting 23–30 channels per line. Common in traditional enterprise telephony.
SIP Trunk: Modern method using Session Initiation Protocol (SIP) over the internet or private IP links. Scalable, cost-effective, and now the industry standard.
Analogy:
Think of a trunk as a multi-lane highway for phone calls. Each lane (channel) carries one call. The more lanes your trunk has, the more simultaneous calls your PBX can handle.
Everyday Example:
A business might have a SIP trunk with 20 channels, meaning up to 20 employees can be on calls at the same time, using a single connection to the provider.
3.5 DID (Direct Inward Dialing)
Definition:
Direct Inward Dialing (DID) is a service provided by telecom carriers or VoIP providers that gives a company a block of public phone numbers. Each number in that block can be mapped by the PBX to a specific extension, department, or service.
This allows external callers to bypass a central receptionist or IVR and reach the intended person or team directly. In some regions, DID is also called DDI (Direct Dial-In).
Example:
Company’s main number:
+1-555-1000(routes to main IVR or reception)DID block assigned:
+1-555-1001→ Sales Extension (201)+1-555-1002→ Support Extension (202)+1-555-1003→ HR Extension (203)
Analogy:
Think of DID numbers like direct apartment buzzers in a large building. Instead of ringing the front desk and asking for someone, you press their apartment number and connect straight to them.
Everyday Example:
A client dials +1-555-1002 and is connected immediately to Support, without going through the company’s main menu.
4. Bonus Terms (Optional Expansion)
SIP (Session Initiation Protocol)
SIP is the signaling protocol used in most VoIP systems to establish, manage, and terminate calls. It handles things like call setup, teardown, and features (hold, transfer, conferencing). Once a call is established via SIP, the media (voice) usually flows through RTP.
Example: When you dial an extension, SIP messages are exchanged between your phone and the PBX to ring, answer, or hang up the call.
VoIP Gateway
A VoIP gateway is a device (or software) that bridges traditional telephony (analog lines, ISDN, PRI) with VoIP networks.
Example: A gateway can connect your PBX to the PSTN, allowing calls to and from regular landline/mobile numbers.
IVR (Interactive Voice Response)
An IVR system lets callers interact with a menu using DTMF tones (keypad presses) or voice commands.
Analogy: “Press 1 for Sales, Press 2 for Support” menus are powered by IVR.
Use case: Helps route calls automatically without human receptionists.
NAT in VoIP
Network Address Translation (NAT) is how routers map private IPs (inside a network) to public IPs (on the internet). In VoIP, NAT can cause issues like one-way audio or failed call setup, because SIP and RTP embed IP addresses inside their packets.
Solution: Techniques like STUN, TURN, or SIP ALG help VoIP traffic traverse NAT correctly.
RTP (Real-time Transport Protocol)
RTP is the protocol that actually carries the voice packets once a call is established. While SIP sets up the call, RTP delivers the real-time audio stream between endpoints.
Example: During a Zoom or SIP call, your voice is transported in small RTP packets, usually over UDP, for low-latency performance.
5. Comparison Table
Sometimes VoIP terms look similar but mean very different things. Here’s a side-by-side comparison to clear the confusion:
Term | vs | Key Difference |
|---|---|---|
PBX | IP-PBX | PBX = Traditional hardware system connected to PSTN. |
Trunk | Extension | Trunk = External connection linking PBX to outside world. |
G.711 | G.729 | G.711 = High quality, needs more bandwidth (~64 kbps per call). |
6. Interactive Quiz / FAQ Section
Quick Quiz – Test Your VoIP Knowledge
Q1: What does DID stand for?
a) Direct Internal Dialing
b) Direct Inward Dialing ✅
c) Digital Internet Data
Q2: Which codec is high quality but bandwidth-heavy?
a) G.729
b) Opus
c) G.711 ✅
Q3: Is SIP a protocol or a trunk?
a) A protocol ✅
b) A trunk
c) A codec
Pro Tip: SIP is the protocol, and when it’s used to connect a PBX to a provider, it becomes a SIP trunk.
🙋 Frequently Asked Questions (FAQs)
Q: Is SIP the same as a trunk?
👉 No. SIP is a protocol that establishes and manages VoIP sessions. A SIP trunk uses that protocol to connect your PBX to the outside world.
Q: Do I need a PBX at home?
👉 Not usually. PBXs are mainly for businesses with multiple extensions. For home use, a softphone app or VoIP service provider is usually enough.
Q: Which codec should I choose—G.711 or G.729?
👉 Use G.711 if you have plenty of bandwidth and want crystal-clear audio. Use G.729 if bandwidth is limited (e.g., remote offices, mobile data).
Q: Can I have multiple DIDs on one PBX?
👉 Absolutely. Companies often purchase a block of DIDs and map each one to different extensions or departments.
7. Conclusion
By now, terms like Codec, Extension, PBX, Trunk, and DID should no longer feel like confusing jargon. These are the core building blocks of VoIP that explain how calls are compressed, routed, and connected, both inside an organization and across the world.
You should now be able to decode VoIP terminology with confidence whether you’re setting up a PBX, exploring SIP trunks, or just trying to understand how internet calling really works.
💡 Key takeaway: Once you understand these fundamentals, diving deeper into advanced VoIP topics like SIP, RTP, NAT handling, and IVR systems becomes much easier.
