wget HTTP://OPENSIPS.ORG/PUB/OPENSIPS/1.8.3/SRC/OPENSIPS-1.8.3_SRC.TAR.GZTAR-XZVF opensips-1.8.3_src.tar.gz CD Opensips-1.8.3-tls/make Menuconfig
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m02/71/51/wkiol1xllo7jy3nuaacpx9quebm782.jpg "title=" 1.png "alt=" Wkiol1xllo7jy3nuaacpx9quebm782.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/51/wKioL1XLLvTg692KAABweh8sFiw273.jpg "style=" float: none; "title=" 2.png "alt=" Wkiol1xllvtg692kaabweh8sfiw273.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/55/wKiom1XLLPGDMyCdAADbjobNo20396.jpg "style=" float: none; "title=" 3.png "alt=" wkiom1xllpgdmycdaadbjobno20396.jpg "/>650) this.width=650; src= http://s3.51cto.com/ Wyfs02/m01/71/51/wkiol1xllvty-lfjaab6mxccxxw219.jpg "title=" 4.png "style=" Float:none; "alt=" Wkiol1xllvty-lfjaab6mxccxxw219.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com/wyfs02/M01/71/55/ Wkiom1xllpgizn3paabulne-hbc464.jpg "title=" 5.png "style=" Float:none; "alt=" wkiom1xllpgizn3paabulne-hbc464.jpg "/ >
Select the red section and then compile the installation, opensips
Installation process may be error, but because of the lack of some libraries caused by the 163yum installation, such as I installed the bison,flex,ncurses-devel,ncurses
After the installation is complete, check
Whereis opensipsopensips:/usr/local/sbin/opensips/usr/local/etc/opensips/usr/local/lib/opensipsvim/usr/local/ ETC/OPENSIPS/OPENSIPSCTLRC sip_domain=your IP dbengine=mysql dbhost=localhost dbname=opensips DB_PATH= "/usr/local/ Etc/opensips/dbtext "Dbrwuser=opensips dbrwpw=" OPENSIPSRW "dbrootuser=" root "usercol=" username "/usr/local/sbin/ OPENSIPSDBCTL Create
/USR/LOCAL/SBIN/OPENSIPSDBCTL Create
If the following error occurs
"Error:could not load the script in/usr/local/lib/opensips/opensipsctl/opensipsdbctl.mysql for database engine MySQL
Error:database engine not loaded-tried ' MYSQL ' "
The
cd/usr/local/lib/opensips/opensipsctl/
CP $ (your opensips directory)/scrips/opensipsdbctrl.mysql.
mkdir MySQL
CP $ (your opensips directory)/scrips/mysql/*.sql.
after success, there will be two options, select All Y
/usr/local/sbin/opensipsctl-c
/usr/local/sbin/opensipsctl start
To add a SIP User: opensipsctl add username password
Opensipsctl Add 8000 1234
Opensipsctl Add 8001 1234
Opensipsctl Add 8002 1234
Test with Csipsipmle and Eyebeam
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/55/wKiom1XLLj-ykO8HAAJw0sAhys4677.jpg "title=" 1.png " alt= "Wkiom1xllj-yko8haajw0sahys4677.jpg"/>650) this.width=650; src= http://s3.51cto.com/wyfs02/M01/71/51/ Wkiol1xlmepybh_vaaee3zkktc0342.jpg "title=" 3.png "style=" Float:none; "alt=" wkiol1xlmepybh_vaaee3zkktc0342.jpg "/ >
View Registered SIP Users
Opensipsctl UL Show
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/71/55/wKiom1XLLkDC8OTRAADH3h2cImI294.jpg "style=" float: none; "title=" 4.png "alt=" Wkiom1xllkdc8otraadh3h2cimi294.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/55/wKiom1XLLkCCggRpAADgw85ZSF0802.jpg "style=" float: none; "title=" 5.png "alt=" Wkiom1xllkccggrpaadgw85zsf0802.jpg "/>
is online
Opensipsctl Online
8000
8001
8002
Dial number
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/51/wKioL1XLMESj9edMAAEnca5qTB4471.jpg "style=" float: none; "title=" 7.png "alt=" wkiol1xlmesj9edmaaenca5qtb4471.jpg "/>650) this.width=650; src= http://s3.51cto.com/ Wyfs02/m02/71/55/wkiom1xllkkcsukfaaea7gu6eka650.jpg "title=" 8.png "style=" Float:none; "alt=" Wkiom1xllkkcsukfaaea7gu6eka650.jpg "/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/51/wKioL1XLMEXQbOJEAAGnth10ghc941.jpg "style=" float: none; "title=" 9.png "alt=" Wkiol1xlmexqbojeaagnth10ghc941.jpg "/>
The construction process of opensips-1.8.3 in RHEL5.5