O'Reilly logo

Building Telephony Systems with OpenSIPS - Second Edition by Bogdan-Andrei Iancu, Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installation of OpenSIPS-CP

The step-by-step instructions to install OpenSIPS-CP are as follows:

  1. Install Apache and PHP:
    apt-get install apache2 php5
    
  2. Install the php5-mysql and php5-xmlrpc packages and set the right parameters in the php.ini file:
    apt-get install php5-mysql php5-xmlrpc php-pear
    
  3. 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
    
  4. Install MDB2:
    pear install MDB2
    pear install MDB2#mysql
    pear install log
    
  5. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required