Compile and Install Kamailio as IMS Node

Download latest release from Git
$ wget https://github.com/kamailio/kamailio/archive/5.3.1.tar.gz
Or clone it from git
$ git clone --depth 1 --no-single-branch --branch 5.3 https://github.com/kamailio/kamailio kamailio
Extract source
$ cd /usr/local/src/
$ tar -zxvf 5.3.1.tar.gz
$ cd kamailio-5.3.1/
Install dependencies
$ apt install flex bison gcc g++ libssl-dev libcurl4 libxml2 libpcre3 libxml2-dev libmnl-dev librabbitmq-dev libmediastreamer-dev libortp-dev libsctp-dev make libsystemd-dev libpcre3-dev libcurl3-gnutls-dev uuid-dev libsnmp-dev
Add IMS Modules and set installation directory to /opt/kamailio
$ make PREFIX="/opt/kamailio" include_modules="cdp cdp_avp db_mysql ims_auth ims_charging ims_dialog ims_diameter_server ims_icscf ims_ipsec_pcscf ims_isc ims_ocs ims_qos ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf ims_usrloc_scscf log_systemd rabbitmq regex rls sctp snmpstats utils uuid xmlrpc pua ims_ipsec_pcscf" cfg
Compile Kamailio
$ make Q=0 all
Install Kamailio
$ make install

if in case you need to re-compile a module use the following commands

$ make modules modules=modules/ims_qos
$ make install-modules modules=modules/ims_qos

For normal Kamailio installation, you can follow this link.


Enjoy ;)

No comments:

Post a Comment

How to compile and run a next application ?

Install nodejs Use  this  link for further reading curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash nvm inst...