한국어

소프트스위치

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


1 modify the host name of the server

[Root @ localhost ~] # vim / etc / sysconfig / network 
NETWORKING = yes 
HOSTNAME = localhost.localdomain 
HOSTNAME = OpenSIPS.clvn.com.cn

2 Check the status of NetworkManager service

[Root @ localhost ~] # service NetworkManager status 
NetworkManager (pid 2945) is running ...

3 The NetworkManager service shutdown

[Root @ localhost ~] # service NetworkManager stop 
Stop NetworkManager daemon: [OK]

4 Set NetworkManager service automatically shut down when the power 
[Root @ localhost ~] # chkconfig --level 35 NetworkManager off

5 See NetworkManager service is automatically turned off when the power is 
[Root @ localhost ~] # chkconfig --list NetworkManager 
NetworkManager 0: off 1: off 2: Enable 3: Off 4: Enable 5: Off 6: Close

6 Configure the IP address 
[Root @ localhost ~] # vim / etc / sysconfig / network-scripts / ifcfg-eth0 
DEVICE = eth0 
HWADDR = 00: 0C: 29: 6C: A2: 40 
TYPE = Ethernet 
UUID = 9b5a23e3-7c38-4b6e-b7ac-088f33c8727b 
ONBOOT = yes 
NM_CONTROLLED = no 
BOOTPROTO = none 
IPADDR = 192.168.0.28 
NETMASK = 255.255.255.0 
IPV6INIT = no 
USERCTL = no

7 Set the mappings between host names and IP addresses

[Root @ localhost ~] # vim / etc / hosts 
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 
:: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6 
192.168.0.28 OpenSIPS.clvn.com.cn OpenSIPS

8 Restart the server

[Root @ localhost ~] # reboot

9 Check the host name

[Root @ OpenSIPS ~] # hostname 
OpenSIPS.clvn.com.cn

10. View ip address is to take effect

[Root @ OpenSIPS ~] # ifconfig eth0 
eth0 Link encap: Ethernet HWaddr 00: 0C: 29: 5B: 82: 3D 
inet addr: 192.168.0.28 Bcast: 192.168.0.255 Mask: 255.255.255.0 
inet6 addr: fe80 :: 20c: 29ff: fe5b: 823d / 64 Scope: Link 
UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0 
TX packets: 11 errors: 0 dropped: 0 overruns: 0 carrier: 0 
collisions: 0 txqueuelen: 1000 
RX bytes: 0 (0.0 b) TX bytes: 746 (746.0 b)

11 packages to install opensips depends

[Root @ OpenSIPS ~] # yum -y install gcc make 
[Root @ OpenSIPS ~] # yum -y install flex bison ncurses ncurses-devel openssl-devel zlib-devel 
[Root @ OpenSIPS ~] # yum -y install mysql mysql-server mysql-libs mysql-devel

12 View opensips Packages

[Root @ OpenSIPS ~] # cd / usr / local 
[Root @ OpenSIPS local] # ls 
bin games lib libexec sbin src 
etc include lib64 opensips-1.11.1_src.tar.gz share

Unzip the package 13

[Root @ OpenSIPS local] # tar -zxvf opensips-1.11.1_src.tar.gz

14 See unpacked generated directory

[Root @ OpenSIPS local] # ls 
bin games lib libexec opensips-1.11.1-tls share 
etc include lib64 opensips-1.11.1_src.tar.gz sbin src

15. view the directory currently resides

[Root @ OpenSIPS opensips-1.11.1-tls] # pwd 
/usr/local/opensips-1.11.1-tls


16. compilation

[Root @ OpenSIPS opensips-1.11.1-tls] # make prefix = / all include_modules = "db_mysql"

17 installation

[Root @ OpenSIPS opensips-1.11.1-tls] # make prefix = / install include_modules = "db_mysql"

18. modify the configuration file

[Root @ OpenSIPS ~] # vim / etc / opensips / opensipsctlrc

## Database host 
DBHOST = 192.168.0.28

## Database name (for ORACLE this is TNS name) 
DBNAME = opensips

# Database path used by dbtext or db_berkeley 
# DB_PATH = "/ usr / local / etc / opensips / dbtext"

## Database read / write user 
DBRWUSER = opensips

## Password for database read / write user 
DBRWPW = "opensipsrw"

## Database super user (for ORACLE this is 'scheme-creator' user) 
DBROOTUSER = "root" 

19 Creating a Database

wKiom1OPD_HRYDUuAAENOzS7nmM914.jpg

20. Log Database

wKiom1OPD_PDADNkAAFqVVflITs368.jpg

21. view database

wKioL1OPD8aiUawCAABvD6Djx9Q766.jpg

22. switch databases

wKiom1OPD_OyWvQ0AACGN5jr83E268.jpg

23 View database tables

wKioL1OPD8fTSUSsAAEZ5UJ6m0g818.jpg

24. configure opensips

wKioL1OPET2jo9fFAAAc5UdqnP4985.jpg

wKiom1OPEWriQ_iDAAEvH61mFq8810.jpg

wKiom1OPEWuTaGlxAAEkySKEbNo700.jpg

wKioL1OPEUDAy0CLAAEqxKijzQg717.jpg

wKioL1OPEULzfUnuAAFmefzbxOY714.jpg

wKiom1OPEXGhNH11AAFSWbrpkws935.jpg

wKiom1OPEXKy_WPCAAGEe715Clk795.jpg

25. View generated configuration file

wKioL1OPEUbD3EdZAAAhT2oSZ3M984.jpg

wKiom1OPEXPS42vZAADuO09Iulk414.jpg

26. the original configuration file ***

wKioL1OPEUbxyYqcAAAm_YiAtmk317.jpg

27 will generate configuration files into the default configuration file

wKioL1OPEUfR9Hr9AABPnR57bTI791.jpg

28. see if the change is successful

wKiom1OPEXSRxs8UAACyD6UF1II460.jpg

29. modify the configuration file as follows

wKiom1OPEXXD0N7dAAGVj1PeVTc231.jpg

29. start opensips

wKioL1OPEUnCWmxXAABpkNw5ZyU601.jpg

30. View opensips whether to start a successful

wKiom1OPEXazjxbMAAGGXkeC6Dk198.jpg

This article comes from " Cloud Life "blog, be sure to keep this sourcehttp://ovcer.blog.51cto.com/1145188/1421886

조회 수 :
38287
등록일 :
2014.08.12
14:28:12 (*.160.88.200)
엮인글 :
http://webs.co.kr/index.php?document_srl=193177&act=trackback&key=f55
게시글 주소 :
http://webs.co.kr/index.php?document_srl=193177
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
171 OpenSIPS Control Panel (OCP) Installation Guide admin 2014-03-06 279182
170 Opensips Gateway between SIP and SMPP messages admin 2019-02-19 265991
169 What is new in 1.8.0 opensip admin 2012-05-21 252631
168 What is new in 2.3.0 opensips admin 2017-09-04 244757
167 Using SIP Devices behind NAT OPensip Asterisk IPPhone SIP Telephony file admin 2013-03-31 225860
166 OpenSIPS vs Asterisk admin 2013-04-06 220439
165 PUSH SERVER 푸시서버 안드로이드 애플 admin 2017-09-11 207963
164 MediaProxy Installation Guide admin 2014-03-06 180554
163 telepresence: Open Source SIP Telepresence/MCU admin 2014-03-12 180248
162 RTPproxy Frequentry Asked Questions (FAQ) ¶ admin 2014-03-07 175100
161 SIP PBX - OpenSIPS and Asterisk configuration admin 2014-03-12 161962
160 Asterisk v1.4x built on FreeBSD v7.1 UNIX admin 2012-01-06 149678
159 사설 망 환경에서 SIP 의 NAT Traversal 문제 admin 2011-12-23 144280
158 How to install Mediaproxy 2.5.2 on CentOS 6 64 bit admin 2017-09-04 143103
157 SIP 트래픽 생성 테스트 툴 admin 2011-12-23 136416
156 opensips command /sbin/opensipsctl detail admin 2017-09-04 124542
155 How to setup a Jabber / XMPP server on Debian 8 (jessie) using ejabberd admin 2017-09-13 123668
154 Opensips_1.9 install guide this is great I like this admin 2014-03-04 107170
153 OpenSIPS basic configuration script 기본 컨피그 admin 2017-09-05 104828
152 Welcome to the Smartvox Knowledgebase admin 2013-04-06 104353
151 Installing RTPproxy Start RTPproxy in Bridged mode very good admin 2014-03-07 102062
150 오픈소스 (사내)메신저 서버 구축, 오픈 파이어(openfire) 설치방법과 세팅 admin 2014-08-11 101627
149 Flooding Asterisk, Freeswitch and Kamailio with Metasploit admin 2013-04-06 99780
148 OpenSIPS Control Panel install guide admin 2014-03-06 95664
147 dictionary.opensips radius admin 2017-12-09 94697
146 Installation and configuration process record opensips 1.9.1 admin 2014-08-09 94680
145 My new toy: Bluebox-ng admin 2013-04-06 91134
144 in opensips what is lookup(domain [, flags [, aor]]) admin 2017-12-09 90807
143 Conference Support in Kamailio (OpenSER) admin 2014-03-12 85060
142 Kamailo OpenSIPs installation on Debian admin 2014-03-09 81967