Class 4 vs Class 5 Softswitch: What Carriers Need to Know

Quick answer: A Class 4 softswitch switches carrier-to-carrier traffic: least-cost routing, interconnection, number translation and wholesale CDRs. A Class 5 softswitch serves subscribers: registration, call features, voicemail, IVR and per-subscriber billing. Many operators run both layers; choose by who consumes the call, not by feature count.

Class 4 vs Class 5 softswitch: the distinction that matters

The labels come from traditional telephony, but they still describe two different jobs in an IP network. A Class 4 switch sits between networks and decides where a call should go. A Class 5 switch sits at the edge and decides what a subscriber can do with a call. Confusing the two is the most common reason a platform purchase fails: a carrier-grade router bought for a subscriber business has no voicemail or self-care, while a subscriber PBX bought for wholesale termination cannot handle carrier interconnection or route control.

What is a Class 4 softswitch?

A Class 4 softswitch is the carrier-facing switching layer. It receives SIP invites from upstream carriers or networks, normalises numbers, applies routing policy and sends the call to the cheapest or highest-quality available route. Its users are other networks, not people.

Core Class 4 functions

  • Least-cost routing (LCR): rate-table-driven route selection across multiple carriers, with per-destination and per-time-of-day rules.
  • Interconnection: SIP trunking to peers, carriers and wholesale providers, often via a session border controller for topology hiding and security.
  • Number translation: prefix manipulation, ENUM/DNS lookups and normalisation to E.164 before a call is sent.
  • Quality controls: ASR and ACD tracking, PDD measurement, failure rerouting and route blocking.
  • Wholesale charging: per-minute or per-second CDRs, carrier reconciliation and margin reporting by route.

In a VoiceBuy deployment this layer is typically where wholesale VoIP termination routes are configured and measured. See our live rate index for the destination-level pricing that feeds route decisions.

What is a Class 5 softswitch?

A Class 5 softswitch is the subscriber-facing layer. It registers endpoints, authenticates users and provides the call features an end customer expects. Its users are people, call centres, branch offices or resellers selling to them.

Core Class 5 functions

  • Subscriber management: SIP registration, authentication, device provisioning and account status.
  • Call features: call forwarding, call waiting, voicemail, conferencing, music on hold, do-not-disturb and hot desking.
  • Voicemail and messaging: storage, transcription where supported, and message-waiting indicators.
  • IVR and routing rules: auto-attendant menus, time-of-day routing and ring groups.
  • Subscriber billing: per-account plans, bundles, usage caps and customer self-care.

If you are comparing hosted options, our guide to a hosted softswitch in 2026 covers deployment choices, and what a softswitch is explains the underlying architecture.

Side-by-side comparison

Decision Class 4 Class 5
Who consumes the call Another carrier or network A subscriber or end user
Primary goal Route quality, cost and margin Features, experience and retention
Routing logic Least-cost routing, prefix rules, ENUM Forwarding, ring groups, IVR, time rules
Billing unit Carrier CDRs by route and minute Subscriber plans, bundles and caps
Identity Trunk and peer credentials Subscriber registration and devices
Typical security edge SBC, topology hiding, peer whitelists User auth, fraud limits, device provisioning
Failure metric ASR, ACD, PDD, route availability Call setup success, feature uptime
Buyer Wholesale carrier, MVNO core team ISP, MSP, enterprise, reseller

How routing differs in practice

A Class 4 decision is made before the call leaves your network: which carrier gets it, at what rate, and with which fallback if the first attempt fails. The decision is driven by destination prefixes, rate tables and live quality data. A Class 5 decision is made after the call reaches your network: which phone rings, whether voicemail takes over, and which subscriber plan pays for it.

Illustrative example: a call from a subscriber to an international number can be authenticated by the Class 5 layer, forwarded according to the subscriber’s rule, then handed to the Class 4 layer, which selects a wholesale route by prefix and current ASR. The two layers are complementary, not alternatives.

How billing differs

Class 4 billing is a carrier ledger: CDRs carry carrier ID, destination, duration, rate and margin, and the finance team reconciles against supplier invoices. Class 5 billing is a product catalogue: plans, included minutes, add-ons and payment status. Using one billing model for both produces either angry subscribers or unexplained wholesale margins.

Which one do you actually need?

  • You sell minutes to other carriers: Class 4 is the core. Class 5 is unnecessary unless you also sell end-user lines.
  • You sell phone service to businesses or residents: Class 5 is the core. You can buy termination from a wholesale carrier instead of running Class 4 yourself.
  • You are an MVNO or a full operator: you normally need both layers, with the Class 5 layer connected to IMS/HSS and the Class 4 layer connected to wholesale routes.
  • You are an MSP reselling hosted PBX: a hosted Class 5 platform plus a trusted wholesale partner is usually the faster route to market.

Our overview of softswitch solutions covers the commercial options, and this comparison should be read alongside it before you commission a build.

Evaluation checklist before you buy

  1. List the call flows you must support: carrier-to-carrier, subscriber-to-carrier, or subscriber-to-subscriber.
  2. Decide who owns routing policy and who owns the subscriber catalogue.
  3. Verify that CDR fields match what finance and compliance actually need.
  4. Ask for a route-level quality report, not a network-wide uptime claim.
  5. Confirm how numbers, porting and E911 are handled in your target markets.
  6. Check integration with IMS/HSS, billing and your existing CRM before signing.

Frequently asked questions

Can a single platform be both Class 4 and Class 5?

Some vendors label a combined platform as “Class 4/5”. In practice you still need to verify that carrier routing and subscriber features are separately configurable, rated and reported. A combined licence is fine; a single undifferentiated call flow usually is not.

Do I need a session border controller with a Class 4 switch?

For carrier interconnection, an SBC is normally used for security, topology hiding, interoperability and denial-of-service protection. Whether it is a separate appliance or a built-in function matters less than confirming the capability exists.

Which layer controls call quality?

Class 4 controls route quality: ASR, ACD and PDD across carriers. Class 5 controls setup success and feature behaviour for subscribers. Both must be monitored; a perfect subscriber platform cannot rescue a bad wholesale route.

Does billing belong in the softswitch?

The switch generates CDRs. Rating, invoicing and tax handling are normally done in a dedicated billing platform that consumes those CDRs. For MVNOs, that platform must also integrate with IMS/HSS and the wholesale pricing model.

Talk to an engineer

Not sure which layer your project needs? Discuss your softswitch requirements with our telecom engineers and we will map your call flows before recommending a platform.

Ready to Get Started?

Contact our team today and get a fast response.

Contact Us

Last edit: November 19, 2026 - 20:05

ENG. Hisham Mohamed

Written by

ENG. Hisham Mohamed

Eng. Hisham Mohamed is a telecommunications specialist with over 8 years in VoIP, SIP termination, IMS and MVNO infrastructure. He writes VoiceBuy's guides.

Chat with
our team