How to install Opensips in ubuntu server
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 folder8. root@tampan:/usr/local/sbin# pico /usr/local/etc/opensips/opensipsctlrc
9. ## your SIP domain
uncomment SIP_DOMAIN=FILLINYOURIPADDRESSHEREuncomment 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
*
