Menu Close

Preparing Debian operating system for Kamailio 4.x platform

Prepare five machines for your IMS, four of them with Debian Wheezy and one with Debian Squeezy. For all CSCF components and presence we will use Wheezy. The HSS will be installed on Debian Squeezy, because of better compatibilities with Fraunhofer HSS. All of them in our case are 32bit OSs.

Prepare repositories

Debian Wheezy

Install the Key for this repository:

wget http://deb.kamailio.org/kamailiodebkey.gpg
apt-key add kamailiodebkey.gpg

Add the repository to your “/etc/apt/sources.list”:

deb http://deb.kamailio.org/kamailio wheezy main
deb-src http://deb.kamailio.org/kamailio wheezy main

Update the repository:

apt-get update

Debian Squeezy

Add the repository to your “/etc/apt/sources.list”:

deb http://ftp.sk.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.sk.debian.org/debian/ squeeze main non-free contrib

Update the repository:

apt-get update

Install packages

For all CSCF components install the kamailio and the ims module packages

apt-get install kamailio kamailio-ims-modules kamailio-presence-modules kamailio-tls-modules kamailio-xml-modules kamailio-xmlrpc-modules kamailio-mysql-modules

Edit the  /etc/default/kamailio file and set up:

# Set to yes to enable kamailio, once configured properly.
RUN_KAMAILIO=yes

# User to run as
USER=kamailio

# Group to run as
GROUP=kamailio

# Amount of memory to allocate for the running Kamailio server (in Mb)
MEMORY=64

Note (31.3.2014): We are using Kamailio version 4.0.3 at the moment. The current version has issues with tm module which cause IMS malfunction.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.