Kamailio

GNU General Public License v2 or later (parts under BSD)
Platform
Self-hosted Linux
Licence
GNU General Public License v2 or later (parts under BSD) Open source
Kamailio

Kamailio

Website: http://www.kamailio.org

Kamailio is an open source SIP server. SIP is the signalling protocol that sets up, routes and ends voice and video calls and instant messages; the media itself travels separately, usually over RTP. Kamailio handles the signalling: it can act as a registrar and location server, a proxy or redirect server, a dispatcher, and a WebSocket endpoint for browser calls. It is not a SIP phone, a media server or a back-to-back user agent, and it can be used to scale SIP-to-PSTN gateways, PBX systems or media servers such as Asterisk, FreeSWITCH or SEMS. That separation is the point: one layer decides where a call goes, another carries the audio.

We would reach for Kamailio when a SIP proxy has to stay predictable under load and fit the rest of the stack. It is written in C for Linux and Unix, runs from embedded boards to multi-core servers, and is configured through its own scripting language, with a separate web management interface called Siremis. More than 150 modules are in the source tree, so a base install can be kept small and extended with the routing, authentication, database or media-control pieces a deployment needs. It assumes you know SIP and are willing to write and test a configuration; it is not a turnkey appliance.

Key Features

  • SIP server roles: Registrar and location server, stateful or stateless proxy, redirect server, application server and dispatcher, with WebSocket support for WebRTC clients.
  • Transport coverage: UDP, TCP, TLS and SCTP over IPv4 and IPv6, including transport gatewaying and SCTP multi-homing.
  • Modular build: Over 150 modules ship in the source tree; modules can be added or stripped without changing the core, and the core stays small enough for embedded devices.
  • Routing control: Serial and parallel forking, NAT traversal, load balancing with failover, least-cost routing and replication for high availability.
  • Security: Digest authentication, ACL and IP-based authorisation, TLS for SIP signalling, SRTP pass-through, topology hiding, DNSSEC and IP blocklists.
  • Data backends: MySQL, PostgreSQL, SQLite, Oracle, BerkeleyDB, UnixODBC and text files, with connectors for Redis, Memcached, MongoDB and Cassandra, plus RADIUS and Diameter.
  • Operations: XMLRPC and JSONRPC control over UDP or TCP, SNMP monitoring, internal statistics, a configuration debugger and the kamctl and sercmd command-line tools.
  • Presence and IMS: SIMPLE presence, an embedded XCAP server and MSRP relay for messaging, plus Diameter and I-CSCF, P-CSCF and S-CSCF roles for IMS and VoLTE.

Licence

Kamailio is released under the GNU General Public License v2 or, at your option, any later version; some parts of the code are under the BSD licence. You can run it, study it, modify it and self-host it without paying a licence fee. If you distribute a modified version, the GPL applies to that distribution, and plug-in modules should use a GPL-compatible licence.

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.