How to install Kamailio 5 from sources on Debian 10

Kamailio is an open-source SIP server, previously known as OpenSER. It is able to handle thousands of call setups per second and as such can be used to build high-grade applications for VoIP and real-time communications. Kamailio can be used as a SIP registrar, proxy/redirect server, SIP security firewall and support presence, RADIUS accounting and authorization. It supports various storage backends like SQL/NoSQL and many more.

Kamailio was released all the way back in 2002 under the name of OpenSER. Today, Kamailio is used by large scale internet service providers to provide public telephony services.


We will be installing Kamailio 5.4, from the sources, which is the latest release at the time of writing. For this tutorial Debian 10 will be used as the host operating system. The following is the brief overview of the steps we will be performing to install Kamailio

  1. Pre-requisite steps
  2. Downloading the source
  3. Configuring and compiling
  4. Database Configuration
  5. Miscellaneous
Continue reading “How to install Kamailio 5 from sources on Debian 10”