Menu Close

Adding MySQL support into Kamailio 3.1 (debian lenny)

The article describes how to add the MySQL support for the Kamailio 3.1.0 server. Activities described here are following the basic Kamailio server installation, described in the article Installing Kamailio 3.1 on debian lenny.

Installing Mysql server and mysql module for Kamailio

To use such persistant storage as a database we first need to install DB server, the Mysql here, and kamailio modules which the kamailio will use to connect into database, the kamailio-mysql-modules here.


How to add debian unstable packages (sid) into apt source.list

Open /etc/apt/source.list file and add following lines:

  • For slovak mirror server
deb sid main
deb-src sid main
  • or for debian site
deb sid main
deb-src sid main

or you may choose any mirror site close to you at debian mirror list  site. To check best availibility you may install netselect tool