Software & Stacks

Kamailio (SIP server / softswitch)

Kamailio (formerly OpenSER) is a high-performance SIP server. It is not a PBX — it has no media, no IVR, no voicemail. It is a SIP signaling proxy/router/registrar that handles tens of thousands of calls per second on commodity hardware, and it is the de-facto standard Class 4 softswitch in the open-source world.

What Kamailio does

What it does NOT do: media. It only sees SIP signaling. RTP flows directly between endpoints (unless you put rtpengine in line for media anchoring).

Where Kamailio fits

Configuration model

Configuration is a single big file (kamailio.cfg) in a C-like syntax with route{} blocks. Logic is procedural: when an INVITE arrives, it goes through the main route block, can branch to sub-routes, can hit modules that mutate the message. Steeper learning curve than Asterisk's dialplan but vastly more flexible.

DIDHub + Kamailio

DIDHub as a Kamailio dispatcher upstream — weighted load balancing, active OPTIONS probing, automatic failover: Kamailio dispatcher tutorial.

Related terms

Ready to get a number?

Pick a DID in 130+ countries from $1.99/month. Activates instantly on most numbers.