Currently you are not logged in.

 Login | Register 

Main

Resources

Training

Events

Development

Resources -> Install


Looking for the fastest way for setting up your OpenSIPS instance?


1.  OpenSIPS installation

Go for the OpenSIPS install instructions - this is a link directly to the INSTALL file from the SVN repository, which contains the up-to-date version.

The INSTALL file provides information about:

  1. . Supported Architectures and Requirements
  2. . Howto Build openser From Source Distribution
  3. . Quick-Start Installation Guide
    1. ) Getting Help
    2. ) Disclaimers
    3. ) Quick Start
    4. ) OpenSER with Persistent Data Storage
  4. . Troubleshooting

NOTE that the above file will help only for setting up OpenSIPS and not for how to configure or use it. If you are looking for such documentation, please see the Documentation section of the site.


2.  OpenSIPS Console (osipsconsole) installation

osipsconsole is a console like utility for provisioning OpenSIPS. It is to replace opensipsctl and opensipsdbctl.

osipsconsole is available only starting with OpenSIPS version 1.5.0 .

2.1 Perl requirements

For the osipsconsole tool the following perl modules are needed:

  • DBI
  • DBD::mysql
  • DBD::Pg
  • DBD::Oracle
  • BerkeleyDB
  • Frontier::RPC2

2.2  Debian/Ubuntu Installation

In order for the script to work, there are listed bellow the modules needed and their debian package correspondent, a brief description of each package and whether it is mandatory to install it or not. ( To be mentioned the fact that these packages have been tested in Debian and Ubuntu distros. )

Perl moduleDebian PackageDescriptionUse
perlperlPractical Extraction and Report Languagemandatory
DBIlibdbi-perlPerl database interfacemandatory
DBD::mysqllibdbd-mysql-perlMySQL driver for the Perl5 Database Interface (DBI)*optional
DBD::Pglibdbd-pg-perlPostgreSQL database driver for the DBI module*optional
**DBD::Oracle Oracle database driver for the DBI module*optional
Frontier::RPC2libfrontier-rpc-perlencode/decode RPC2 format XMLmandatory
Term::ReadLine::Gnulibterm-readline-gnu-perlPerl extension for the GNU Readline/History Librarymandatory
BerkeleyDBlibberkeleydb-perlPerl extension for Berkeley DB version 2, 3 or 4mandatory

Install these packages using apt-get:

apt-get install perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl

NOTE: * at the user's choice. At least one of the packages is mandatory, depending on the DB type used by OpenSIPS. The other ones have no need of being installed.

**For the DBD::Oracle module there is no debian package. This will be installed as follows:
Creating your own Debian packages for CPAN libriaries

As many Debian users probably don't really like to install modules the CPAN way, here how to achieve the desired effect following "the Debian way":

 apt-get install dh-make-perl

Usually running

 dh-make-perl --build --cpan DBD-Whatever

should be enough. For CPAN libraries where this doesn't work please try as follows:

wget http://search.cpan.org/CPAN/.../DBD-Whatever-1.0.tar.gz
tar xfz DBD-Whatever-1.0.tar.gz
dh-make-perl DBD-Whatever-1.0/
cd DBD-Whatever-1.0

Adjust files in the newly created debian folder to fit your needs (if required) and build the package using dpkg-buildpackage, debuild or whatever you prefer.

 cd ..

Here is your new libdbd-whatever-perl_1.0-1_all.deb :-) One last suggestion: I'm usually not building packages on my live systems but elsewhere. This helps keeping productional systems slim and "clean".


3.  Graphical Interface (menuconfig) installation

Menuconfig is a graphical tool that allows in an easy way to configure, compile and generate OpenSIPS configuration files - all by simply running

    make menuconfig

The Interface allows the user to do the following :

1. Configure OpenSIPS compilation related options such as :

    - Compilation Flags. For example, the user can now easily compile in TCP
      support from within the GUI, or enable memory allocation debugging, etc.
      Each compilation flag functionality is explained in short in the GUI.
    - Module Compilation Selection. The user can now easily select to compile
      modules that have external dependencies, and that are not compiled in
      by default. For example, the user can choose to also enable the MySQL
      support by enabling the db_mysql module. The interface will also notify
      the user about the dependencies that must be installed based on the modules
      that the user has selected.
    - Installation Prefix. The user can use the GUI to configure the OpenSIPS
      installation path to be used

2. Install OpenSIPS and Cleanup OpenSIPS sources

    - Upon configuring OpenSIPS related options from above,
      the user can choose to install OpenSIPS directly from the GUI.

3. Generate OpenSIPS config files

    - The tool can also generate OpenSIPS configuration files based on the-
      user's preferences. So far, we have defined three main classes of OpenSIPS
      configuration files :
        - Residential
        - Trunking
        - Load-balancer

   For each type of configuration file, the user can choose to enable/disable-
   certain options. For example, for the Residential script, the user can choose
   to enable presence support, to handle NAT, and many more. After the user has
   properly configured it's desired OpenSIPS script in the GUI, it will have the
   option to generate and obtain the final OpenSIPS cfg.

If you have installed OpenSIPS from packages ( debs, rpms, etc ) and not from sources, you will still be able to use the graphical interface for generating configuration files, by running

	osipsconfig

Your VoIP Account

News

OpenSIPS Getting Started

21st of April 2012 OpenSIPS Getting Started Video Tutorial about how to do an installation of OpenSIPS and OpenSIPS-CP...
Watch it now...

OpenSIPS Devel Course

12th of April 2012 Learn about OpenSIPS internals both core and modules...
Read more...

OpenSIPS 1.8.0

22nd of March 2012 OpenSIPS 1.8.0 major release ready...
Read more...

Dynamic Routing

20th of March 2012 Enhancements of DR engine...
Read more...

APT repository

23nd of February 2012 New official APT repository for Debian & Ubuntu
Read more...

OpenSIPS 1.7.2

22nd of February 2012 OpenSIPS 1.7.2 minor release out...
Read more...

SIP Validation Support

20th of February 2012 Prevent malformed SIP messages from propagating through your network
Read more...

DNS Caching Support

13th of February 2012 Cache system for all types of DNS records
Read more...

Distributed Dialog Profiles

9th of February 2012 Shared dialog profiles between multiple instances of OpenSIPS
Read more...

Configuration and Scripting Tool

19th of January 2012 Graphical Configuration and Scripting Tool for OpenSIPS
Read more...

Cassandra driver

05th of January 2012 Cassandra backend for OpenSIPS
Read more...

LUA integration

05th of January 2012 Using LUA scripting with OpenSIPS
Read more...

OpenSIPS Pavilion @ ITExpo 2012

22th of December 2011 OpenSIPS Pavilion booth #535, 1-3 Feb 2012
Read more...

OpenSIPS and HOMER

14th of December 2011 Distributed SIPtracing and SIPcapturing
Read more...

OpenSIPS eBootcamp

12th of December 2011 New Ebootcamp session starting on 15th of February 2012.
Read more...

OpenSIPS 1.7.1

23rd of November 2011 OpenSIPS 1.7.1 minor release out...
Read more...

Ratelimit

3rd of November 2011 Dynamic and distributed support...
Read more...

OpenSIPS VM 1.7.0

1st of November 2011 Live Virtual Machine for OpenSIPS 1.7...
Read more...

MI via HTTP

25th of October 2011 Bultin HTTP server for MI...
Read more...

Events via RabbitMQ

12th of October 2011 Event Interface can push events via RabbitMQ...
Read more...

Key-Value Cache/DBs

6th of October 2011 Script and module support for key-value oriented backend...
Read more...

GRUU support

4th of October 2011 OpenSIPS registrar with GRUU / RFC5627...
Read more...

OpenSIPS 1.8.0 preview

30th of September 2011 What is set to be done for OpenSIPS 1.8.0...
Read more...

OpenSIPS eBootcamp

28th of July 2011 New Ebootcamp session starting on 19th of September.
Read more...

OpenSIPS 1.7.0

12nd of July 2011 OpenSIPS 1.7.0 major release ready...
Read more...

ClueCon 2011

11th of July 2011 Talks and one-day free training
Read more...

New in 1.7.0

6th of July 2011 What is new in OpenSIPS 1.7.0
Read more...

SVN Freeze

30th of June 2011 Testing phase started for 1.7 release
Read more...

Topology Hiding

30th of June 2011 Topology Hiding based on dialog module
Read more...

New AVP naming

23rd of June 2011 A simpler and more efficient way of naming AVPs
Read more...

DB Optimization

22nd of June 2011 Multi-row DB insert operations.
Read more...

Event Notification Interface

26th of May 2011 External interaction via the Event Interface.
Read more...

OpenSIPS eBootcamp

28th of March 2011 New Ebootcamp session starting on 2nd of May.
Read more...

UAC_REGISTRANT module

10th of March 2011 New module to allow OpenSIPS to UAC register.
Read more...

Performance degradation with complexity

08th of March 2011 Tests to show how performance is affected with complexity.
Read more...

Load and performance monitoring

22nd of February 2011 New statistics and traps for OpenSIPS monitoring.
Read more...

OpenSIPS 2.0

17th of February 2011 OpenSIPS 2.0 first code release.
Read more...

OpenSIPS Online Meeting

15th of February 2011 OpenSIPS Online Monthly Meetings started.
Read more...

OpenSIPS Social Event

24th of January 2011 OpenSIPS Social Event - Miami, 3rd of February.
Read more...

OpenSIPS eBootcamp

17th of January 2011 New Ebootcamp session starting on 28th of February.
Read more...

OpenSIPS 1.6.4

20th of December 2010 OpenSIPS 1.6.4 major release ready...
Read more...

OpenSIPS media timeout

16th of December 2010 Ghost call hunting with media timeout ...
Read more...


Edit | History | Print | Recent Changes | Search
Page last modified on March 22, 2012, at 12:19 PM