Kamailio 5.1.6 installation Steps on CentOS 7

For DB Integration, please find the installation step on this link
For Radius Integration, Please find the installation step on this link
Download latest LTS SRC from www.kamailio.org
$ cd /usr/local/src/
$ make cfg include_modules="db_mysql dialplan acc_radius auth_radius misc_radius lcr jsonrpcs xmlrpc rls ctl tls" skip_modules=app_sqlang PREFIX="/usr/local/SIPSer"
$ make all
$ make install
$ cd /usr/local/SIPSer/etc/kamailio
$ vim kamctlrc
 uncommennt DBENGINE, DBHOST, DBPORT, DBNAME, DBRWUSER and DBRWPW
$ /usr/local/SIPSer/sbin/kamdbctl create
$ cp /usr/local/src/kamailio-5.1.6/pkg/kamailio/centos/7/kamailio.sysconfig /etc/sysconfig/kamailio
$ vim /etc/sysconfig/kamailio
 EDIT USER and GROUP
$ cp /usr/local/src/kamailio-5.1.6/pkg/kamailio/centos/7/kamailio.service /etc/systemd/system/kamailio.service
$ vim /etc/systemd/system/kamailio.service
 EDIT CFGFILE, SBINFILE, SHM_MEMORY, PKG_MEMEORY
$ systemctl start kamailio.service
$ systemctl status kamailio.service
$ export LD_LIBRARY_PATH=/usr/local/lib/
If any module needed to recompile after installation, use the following commands.
$ make install-modules modules=modules/xmlrpc

No comments:

Post a Comment

SIPp UAC Scenario to send RTP

Please install the latest sipp ( >=3.7.3 ) wget https://github.com/SIPp/sipp/releases/download/v3.7.3/sipp chmor +x sipp mv sipp /usr/bin...