

Install presence related tables? (y/n): y You will be asked if you want to install different tables – just say “yes” to all the questions.īelow are all the prompts you will be presented: You will be prompted to put in the MySQL root password that you created in the install MySQL section of this document. The command will create all the users and tables needed by Kamailio. You can just use the default values for right now and you can change them at a later time. Uncomment and setup the Database Read/Write and Database Read/Only fields. The parameter should look like this afterwards: Uncomment the DBENGINE parameter by removing the pound symbol and make sure the value equals MYSQL. To change this we need to edit one of Kamailio’s configuration files. Set MySQL to Start at Boot systemctl enable mariadbīy default, Kamailio does not use MySQL.

Note, Kamailio has support for a number of database backends. We will use MariaDB for the Kamailio database engine. Set Kamailio to Start at Boot systemctl enable kamailio Install Kamailio apt install kamailio kamailio-mysql-module You can look at the kamailio packages in the apt repository by typing: Update the apt package manager so that it’s aware of the new repository. This article assumes you have a fresh install of Debian 9.x.Īdd Kamailio GPG Key wget -O- | sudo apt-key add - Add Kamailio 5.2 repo vi /etc/apt/sources.list This article will provide step-by-step instructions on how to install Kamailio 5.2.x on Debian using apt packages.
