Back to services

Kamailio

Modular SIP server (registrar/proxy/router/etc).

View alternatives to Kamailio
Suggest edit
Open source
Self-hostable
GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Kamailio® is an open-source SIP server, formerly known as OpenSER and SIP Express Router (SER). It has been in development since 2001 and is released under the GPLv2+ license. It can handle thousands of call setups per second, making it well suited for building large-scale VoIP and real-time communication platforms, covering applications such as presence, WebRTC, and instant messaging. It can also be used to scale out SIP-PSTN gateways and PBX systems, or to scale media servers such as Asterisk, FreeSWITCH, and SEMS.

Key Features

  • Multiple roles: Can act as a SIP load balancer, IP telephony engine, least cost routing (LCR) engine, SIP firewall, edge proxy, SBC, or registration and location service
  • Transport and security: Supports asynchronous TCP, UDP, and SCTP, encrypts voice, video, and text communication over TLS, and supports IPv4 and IPv6
  • WebRTC: Supports WebSocket, enabling browser-based real-time communication
  • Instant messaging and presence: Supports the SIMPLE protocol, with a built-in XCAP server and MSRP relay
  • Carrier-grade extensions: Provides IMS extensions for VoLTE, and supports ENUM, DID routing, and least cost routing
  • High availability: Supports load balancing, routing failover, and asynchronous operation
  • AAA: Supports accounting, authentication, and authorization
  • Backend integration: Supports MySQL, PostgreSQL, Oracle, RADIUS, LDAP, Redis, Cassandra, MongoDB, Memcached, and more
  • Management and monitoring: Offers JSON and XMLRPC control interfaces, and supports SNMP monitoring

Target Users and Use Cases

It is mainly aimed at telecom operators, VoIP service providers, unified communications vendors, and enterprises and developers who need to build their own SIP infrastructure. Common uses include building large-scale SIP registration and proxy platforms, providing load balancing and security in front of Asterisk and FreeSWITCH clusters, supplying SIP signaling for WebRTC applications, and building IMS/VoLTE network components.

Core Strengths

  • High performance: Written in pure C and optimized for different hardware architectures, so it can run on both resource-constrained systems and carrier-grade servers
  • Modular and extensible: Functionality is provided as modules, and the project offers separate module documentation for the stable and development versions
  • Mature and stable: Under continuous development for more than 20 years, and winner of the Best Open Source Networking Software award in 2009
  • Active community: Offers mailing lists, a GitHub issue tracker, the annual Kamailio World conference, and developer meetings, and the official website also has a commercial support directory

Installation and Deployment

  • The latest source code can be downloaded from the official download page (currently the 6.1.x series) and compiled and installed on Unix/Linux-like systems
  • The source code is hosted on GitHub (github.com/kamailio)
  • Official documentation, module documentation, and a wiki are available as configuration references

Technical Requirements

  • Runs on Unix/Linux-like operating systems
  • Databases, caches, or directory services can be connected as backends as needed

Notable Characteristics

  • Kamailio is a pure SIP signaling server and usually needs to be paired with media components such as RTPEngine, Asterisk, or FreeSWITCH
  • Version 6.1 adds a multithreaded TLS handling mode, functions for SIPREC together with RTPEngine, and stronger hash algorithm support
  • Configuration is written in a dedicated routing script language, which is very flexible but has a certain learning curve