Voxvalley Start free trial

24 Jun 2021 · Voxvalley Team

What Is a Softswitch? How It Works and What It Is Used For

A softswitch is software that sets up, routes, controls and records voice calls over IP networks. It decides where each call goes, tells the endpoints and gateways how to connect, and writes the call detail record used for billing. A softswitch does in software on standard servers what a hardware telephone exchange used to do with dedicated switching equipment.

This article covers what a softswitch is made of, how one call moves through it, what operators use it for, and what to check for quality and security. If you already know the basics and need to choose between switch types, go to our Class 4 vs Class 5 softswitch guide.

Why it is called a "soft" switch

Older telephone exchanges joined calls by physically or electronically connecting circuits. A softswitch keeps the job of call control (signalling, routing, rating) separate from the media (the audio packets themselves). The control part runs as software, and the media goes over the IP network between endpoints, media gateways or media servers. Because it is software, one platform can serve many customers, scale by adding servers, and gain features through upgrades instead of hardware swaps.

Most softswitches today use SIP (Session Initiation Protocol, defined by the IETF in RFC 3261) for signalling and RTP (RFC 3550) to carry the voice. Some older networks still use H.248/Megaco or MGCP to control media gateways.

What is inside a softswitch

Vendors package these parts differently, but most platforms contain:

  • Call agent (call control): receives SIP requests, authenticates users or trunks, and keeps track of each call's state.
  • Routing engine: picks the next hop for a call by dialled prefix, cost, quality, time of day or customer plan, with failover if a route rejects the call.
  • Session border controller (SBC): sits at the network edge, hides internal addresses, handles NAT and applies security policies. It can be a separate product or built in.
  • Media handling: relays or anchors RTP when needed, transcodes between codecs, and plays prompts and announcements.
  • Rating and billing: writes call detail records (CDRs), applies rate cards and updates prepaid or postpaid balances.
  • Management portal and APIs: used to provision customers, numbers, routes and reports, often with reseller levels.

How a call moves through a softswitch

  1. Registration. A softphone, IP desk phone or PBX registers with the switch, and the switch checks its credentials.
  2. Call request. The user dials a number. The device sends a SIP INVITE to the switch.
  3. Authorisation. The switch checks the account, its balance or credit limit, and whether it may dial that destination.
  4. Routing. The routing engine matches the dialled number against routes and sends the call to a carrier, another switch or an internal user.
  5. Media. Once the far end answers, voice flows as RTP packets, directly or through the switch's media relay.
  6. Teardown and record. When either side hangs up, the switch closes the session and writes the CDR with duration, route and cost.

All of this takes a fraction of a second. The time between dialling and hearing ringback is called post-dial delay, and it is one of the numbers operators watch most closely.

What softswitches are used for

  • Retail VoIP services: calling plans, calling cards, app-based calling and hosted PBX for subscribers.
  • Wholesale voice: exchanging large volumes of minutes between carriers, with least-cost routing. Our wholesale voice page covers this side of the market.
  • Business telephony: extensions, IVR, call queues, voicemail and call recording for companies.
  • Contact centres: sending calls to agents and connecting to CRM systems.
  • Virtual numbers and mobile apps: connecting DIDs and softphone apps to the public telephone network.

Which kind you need depends on who your customers are. Carrier-to-carrier routing is Class 4 work, and subscriber features are Class 5 work. Many providers start with a retail service, and our guide to starting a VoIP business walks through that path.

Cloud, hosted or on-premise

ModelWho runs the serversBest forTrade-off
Hosted / rentedThe vendorNew providers testing a marketMonthly fee, less control over upgrades
Cloud (your account)You, on public cloudGrowing providers who need elastic capacityYou manage security and costs
On-premise licenceYou, in your data centreOperators with steady traffic, data-residency or regulatory rulesHigher upfront cost and in-house skills

A cloud switch has clear advantages: no hardware to buy, capacity that grows with traffic, and redundancy across regions. The costs to watch are bandwidth, media relay load and the people needed to run it.

Quality: the numbers that matter

Voice quality comes from the switch, the routes and the network together. Operators usually track:

  • ASR (answer-seizure ratio): the share of call attempts that are answered. A sudden drop on one route usually means a carrier problem.
  • ACD (average call duration): very short calls can point to poor audio or false answer supervision.
  • PDD (post-dial delay): the time from dialling to ringback.
  • Latency, jitter and packet loss: ITU-T Recommendation G.114 advises keeping one-way delay under about 150 ms for most voice uses, because conversation gets harder above that.

A good softswitch shows these numbers by route and customer in real time and can move traffic automatically when a route gets worse.

Security is not optional

A softswitch is connected to the internet, and it gets attacked. TransUnion put telecom industry losses to fraud at an estimated $38.95 billion in 2023. Among the main fraud types it lists are PBX hacking, where attackers break into phone systems and pump calls to high-cost numbers, and international revenue share fraud. At a minimum, check that a platform offers:

  • SIP authentication, IP allow-lists for trunks, and rate limits on registrations and call attempts
  • TLS for signalling and SRTP (RFC 3711) for media where endpoints support them
  • Per-account credit and concurrent-call limits, plus destination blocking for high-risk prefixes
  • Fraud alerts on unusual traffic patterns, and audit logs for every admin action

How Voxvalley helps

Voxvalley has been building voice platforms since 2009 for operators, VoIP providers and white-label partners. The Voxvalley softswitch handles numbers, SMS, and incoming and outgoing voice, and comes with a branded softphone and webdialer. That means a provider can launch a complete retail voice service on one platform. Every Voxvalley product is offered both as a white-label licence and on monthly rental, so you can start on rental and move to your own deployment as volumes grow. Traffic is carried through telecom operators. See the white-label partner programme to put the platform under your own brand, or the softphone range for the apps your users will dial from.

Sources

Quick answers

Frequently asked questions

What is the difference between a softswitch and a PBX?

A PBX serves one organisation and its extensions. A softswitch is built for service providers: it routes calls between many customers and carriers, rates and bills each call, and handles far higher call volumes. A Class 5 softswitch can host many virtual PBXs on one platform.

Is a SIP server the same as a softswitch?

A SIP server handles SIP signalling such as registration and call setup. A softswitch includes that function and adds routing, rating, billing, media handling and the management tools needed to run a commercial voice service.

Can I rent a softswitch instead of buying one?

Yes. Many providers start on a hosted or monthly rental platform and move to their own licence as traffic grows. Voxvalley offers its products both on monthly rental and as a white-label licence.

Talk to sales

Ready to carry traffic?

Tell us your use case, countries and monthly volume. We reply within one business day with pricing and a working demo.

WhatsApp us