Installation of OpenSIPS-CP
The step-by-step instructions to install OpenSIPS-CP are as follows:
- Install Apache and PHP:
apt-get install apache2 php5
- Install the
php5-mysql
andphp5-xmlrpc
packages and set the right parameters in thephp.ini
file:apt-get install php5-mysql php5-xmlrpc php-pear
- Download
opensips-cp
and untar the file:cd /var/www svn checkout svn://svn.code.sf.net/p/opensips-cp/code/trunk opensips-cp chown -R www-data:www-data /var/www/opensips-cp
- Install MDB2:
pear install MDB2 pear install MDB2#mysql pear install log
- Configure Apache for the OpenSIPS control panel. Edit the
apache2.conf
file:vi /etc/apache2/apache2.conf
Include the following line in the last line:
Alias /cp "/var/www/opensips-cp/web" nano /etc/php5/cli/php.ini ...
Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.