dana.satriya

February 23, 2009

How to install Opensips in ubuntu server

Filed under: oprekan iseng

 

How to install OpenSIPS in ubuntu 8.04

1. install subversion gcc flex bison libmysqlclient15-dev make

2. if your are behind a proxy, configure it in /etc/subversion/servers. Change in [global] section

3. root@tampan:/usr/local/src/opensips# svn co https://opensips.svn.sourceforge.net/svnroot/opensips/branches/1.4 opensips14

4. root@tampan:/usr/local/src/opensips14# pico Makefile

//ctrl w , find excludemodules?=

//delete dbmysql from that line

5. root@tampan:/usr/local/src/opensips14# NICER=1 make all

6. root@tampan:/usr/local/src/opensips14# make install

7. root@tampan:/usr/local/sbin# ls
opensips  opensipsctl  opensipsdbctl  opensipsunix -> make sure they are on this folder

8. root@tampan:/usr/local/sbin# pico /usr/local/etc/opensips/opensipsctlrc

9. ## your SIP domain
uncomment SIP_DOMAIN=FILLINYOURIPADDRESSHERE

uncomment DBENGINE=MYSQL

10. root@tampan:/usr/local/sbin# opensipsdbctl create

MySQL password for root:
INFO: test server charset
INFO: creating database opensips …
INFO: Core OpenSIPS tables succesfully created.
Install presence related tables? (y/n): y
INFO: creating presence tables into opensips …
INFO: Presence tables succesfully created.
Install tables for imc cpl siptrace domainpolicy carrierroute userblacklist? (y/n): y
INFO: creating extra tables into opensips …
INFO: Extra tables succesfully created.


11. root@tampan:/usr/local/sbin# ls
opensips  opensipsctl  opensipsdbctl  opensipsunix
12. root@tampan:/usr/local/sbin# opensipsctl start

INFO: Starting OpenSIPS :
INFO: started (pid: 4723)

 *will post the routing diagram block of the configuration next time.. if i’m not too lazy emoticon *

kredit : 1. 2.

Comments »

The URI to TrackBack this entry is: http://danasatriya.blogsome.com/2009/02/23/how-to-install-opensips-in-ubuntu-server/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Ian Main