Back to Insights
VoIP Engineering

Class 4 vs Class 5 Softswitch: Which One Does Your VoIP Business Need?

Telephony Engineering Team
4 min read
Class 4 vs Class 5 Softswitch: Which One Does Your VoIP Business Need?

A Class 4 softswitch moves wholesale traffic between carriers, while a Class 5 softswitch serves end subscribers with features like extensions, voicemail, and call forwarding. The terms come from the legacy telephone switching hierarchy, and they still describe two different jobs.

Quick Comparison

Class 4Class 5
Main roleTrunk-to-trunk routing, interconnectSubscriber services, business or residential
Typical customersCarriers, wholesale resellers, termination businessesBusinesses, hosted PBX users, consumers
Key featuresRouting, LCR, rate decks, capacity and CPS control, billing between carriersRegistration, extensions, IVR, voicemail, ring groups, call forwarding
ScaleHigh call volume, mostly signaling and media passthroughMany users, rich per-user features
BillingPer-minute, per-prefix wholesalePer-seat, plan-based, plus usage
Common interfacesSIP trunks between networksSIP phones, softphones, apps

What a Class 4 System Does

  • Accepts traffic from many customers and routes it to many suppliers
  • Applies least cost routing and quality-based failover
  • Enforces per-customer limits on concurrency and CPS
  • Normalizes numbers and signaling between carriers
  • Produces accurate CDRs for inter-carrier settlement (see CDR explained)

What a Class 5 System Does

Do You Need One or Both?

  • Wholesale or termination business: Class 4.
  • Hosted PBX, UCaaS, or call center product: Class 5, connected upstream to carriers through trunks.
  • Full-service provider: both, with the Class 5 layer sending outbound traffic through a Class 4 layer that manages carrier relationships.

Many modern platforms blur the line, using Kamailio for the routing and edge function and FreeSWITCH for media and features (see FreeSWITCH horizontal scaling with Kamailio).

Build, Buy, or Open Source?

Commercial softswitches bundle routing, billing, and portals. Open-source building blocks offer flexibility and no per-channel licensing, at the cost of engineering effort. For a broader view of this decision, read open-source telephony vs CPaaS and what a softswitch is.

Questions to Decide

  1. Do you sell minutes to other carriers or features to end users?
  2. How many concurrent calls and CPS do you expect at peak?
  3. Do you need multi-tenancy and white-label branding?
  4. What billing and reporting do your customers expect?

Deciding what to build for your VoIP business? Our custom VoIP development team designs and builds Class 4 and Class 5 platforms tuned to your market.

Discussion

0

Join the conversation

Sign in with your preferred account to comment, reply, and keep the discussion useful for other engineers.

Takes a few seconds. No separate password required.

C

Controva LLC

Engineering Team

We build digital empires that scale. Specializing in high-performance web architecture, AI automation, and headless commerce.

Work with us

Share this article