Kamailio

Kamailio is an Open Source SIP server, designed for high performance and scalability.

I wanted to use it in combination with Asterisk (which is not an unusual arrangement - Asterisk is good for defining dial plans, and Kamailio is good as a registration server, so a combination uses the strengths of both).

However, finding an introductory HOWTO on getting started with Kamailio seemed pretty difficult, so I started documenting how I got going with it.

My objectives in the first instance were:

  1. Install Kamailio under Debian 7 (Wheezy)
  2. Get it working as a SIP registrar, able to accept registration from a phone
  3. Get it working as a SIP client, able to register to an Asterisk server
  4. Accept a call from the phone and pass it through to the Asterisk server

That seemed simple enough, and yet finding anything on the net to show quite how to do this defeated me :(

I started from the Kamailio wiki Getting Started page (which is helpful, but (a) doesn't actually lead you through the steps to get something specific working, and (b) says things like "you can use kamctl tool for managing subscriber records" without saying how, or providing a link to that tool. Overall, better than nothing, but dissatisfying.

Beyond that, I gave up and returned to Asterisk, where all the above things are pretty easy.


Go up
Return to main index.