How to install Opensips

12:24 pm in CentOS, Debian, Fedora, OpenSIPS by emran

Opensips is one of the best solution that are present in opensource, it provide you ITSP level services on good hardware box, Single box configure with opensips can supports 5000-10000 calls at time, which it make any teleco to operate with more then 5-10 billion mins per year. Anyone can use it to support their bussiness which is incuring lot of cost due high hardware cost such as iSoftSwitch.

REQUIRMENTS:

  1. gcc / suncc / icc : gcc >= 2.9x; 4.[012] recommended (it will work with older version but it might require some options tweaking for best performance)
  2. bison or yacc (Berkley yacc)
  3. flex
  4. GNU make (on Linux this is the standard “make”, on FreeBSD and Solaris is called “gmake”) version >= 3.79.
  5. sed and tr (used in the makefiles)
  6. GNU tar (”gtar” on Solaris) and gzip if you want “make tar” to work
  7. GNU install or BSD install (on Solaris “ginstall”) if you want “make install”, “make bin”, “make sunpkg” to work
  8. openssl if you want to compile the TLS support
  9. libsctp if you want to compile the SCTP support
  10. libmysqlclient & libz (zlib) -libs and devel headers- if you want mysql DB support (the db_mysql module)
  11. libpq / postgresql -libs and devel headers- if you want postgres DB support (the db_postgres module)
  12. unixodbc -libs and devel headers- if you want unixodbc DB support (the db_unixodbc module)
  13. libexpat if you want the jabber gateway support (the jabber module) or the XMPP gateway support
  14. libxml2 if you want to use the cpl-c (Call Processing Language) or the presence modules (presence and pua*)
  15. libradius-ng -libs and devel headers- if you want to use functionalities with radius support – authentication, accounting, group support, etc
  16. unixodbc – libs and devel headers – if you want UNIXODBC support as DB underlayer
  17. libxmlrpc-c3 – libs and devel headers – if you want to have XML-RPC support for the Management interface (MI)
  18. libperl – libs and devel headers – if you want PERL connector to support perl scripting from you config file (perl module)
  19. libsnmp9 – libs and devel headers – if you want SNMP client functionality (SNMP AgentX subagent) for opensips
  20. libldap libs and devel headers v2.1 or greater – if you want LDAP support
  21. libconfuse and devel headers – if you want to compile the carrierroute module

INSTALLATION

  1. cd /usr/src/
  2. Download opensips (Opensips 1.5 wget http://opensips.org/pub/opensips/1.5.0/src/opensips-1.5.0-tls_src.tar.gz)
  3. tar -xzf  opensips-1.5.0-tls_src.tar.gz
  4. make all
  5. make install