GSMCalls

Switching

SoftswitchAlso known as Software switch, VoIP switch

Definition

A softswitch is software that performs the call-control and routing functions of a telephone exchange on IP networks. It receives SIP (or H.323) signalling, decides where each call should go, applies rules for billing, authentication and capacity, and connects calls between customers, carriers and gateways, replacing hardware TDM switches.

What a softswitch does

The original softswitch architecture split a telephone exchange into a media gateway controller (the call-control “brain”) and separate media gateways that handle the audio. In practice the term now covers any server-based call-routing platform.

  • Routing: chooses a destination route by dialled prefix, cost, quality or priority, with failover.
  • Authentication and authorisation of customers and peers by IP or credentials.
  • Capacity control: limits concurrent calls and calls per second per customer or route.
  • Number manipulation: adds or strips prefixes and normalises to E.164.
  • Accounting: writes CDRs for billing and reports metrics such as ASR and ACD.

Class 4 vs Class 5 softswitches

Softswitches are classified after the old North American switching hierarchy. A Class 4 softswitch is a transit or tandem switch that moves large volumes of calls between carriers. A Class 5 softswitch serves end subscribers with features such as voicemail, call forwarding and hosted PBX. Many products combine both. See Class 4 vs Class 5 softswitch.

Softswitches and gateways

Modern softswitches scale horizontally, with several call-control nodes behind load balancers and a shared database, so capacity can grow without replacing hardware.

A softswitch rarely touches the physical network itself; it hands calls to SIP trunks, SBCs and gateways. A mobile GSM gateway appears to the softswitch as one more route. GSMCalls connects to softswitches as a standard SIP trunk and reports per-route CDRs, ASR and ACD; see the platform.

Frequently asked questions

What is the difference between a softswitch and a PBX?

Both route calls, but a PBX serves one organisation’s extensions, while a softswitch serves a carrier or service provider with many customers and routes.

Is Asterisk a softswitch?

Asterisk is mainly used as a PBX, although it can perform some softswitch functions. Carrier-grade softswitches focus on high call volumes, routing and billing.

What does a softswitch route on?

Usually the dialled number prefix, combined with cost, quality metrics, time of day and route priority.

Further reading

All glossary terms