한국어

소프트스위치

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

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


https://github.com/antonraharja/book-opensips-101/blob/master/content/5.2.%20GUI%20for%20OpenSIPS%20opensips-cp.mediawiki


http://opensips-cp.sourceforge.net/



Alternative to SerMyAdmin, more into admin tools rather than user management, is opensips-cp, OpenSIPS Control Panel.

OpenSIPS Control Panel offers management to multiple OpenSIPS servers.

URL: http://opensips-cp.sourceforge.net

Download and extract opensips-cp:

 cd /root/src/opensips
 wget -c "http://downloads.sourceforge.net/project/opensips-cp/opensips-cp/5.0/opensips-cp_5.0.tgz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fopensips-cp%2Ffiles%2Fopensips-cp%2F5.0%2F&ts=1371700243&use_mirror=nchc" -O opensips-cp_5.0.tgz
 tar -zxf opensip-cp_5.0.tgz
 ls

Prepare server, we need to install LAMP (assumed we are using local MySQL server):

 apt-get install apache2 php5 php5-cli php5-mysql php5-xmlrpc php-pear php-mdb2-driver-mysql php-log
 /etc/init.d/apache2 restart

Copy web files to web directory:

 cd /root/src/opensips/5.0
 mkdir -p /var/www/cp
 cp -rR web config /var/www/cp/
 chown www-data:www-data -R /var/www/cp

Setup database for opensips-cp:

 cd /root/src/opensips/5.0
 mysql -uroot -p opensips < config/tools/admin/add_admin/ocp_admin_privileges.mysql
 echo "INSERT INTO ocp_admin_privileges (username,password,ha1,available_tools,permissions) values ('admin','admin',md5('admin:admin'),'all','all');" | mysql -uroot -p opensips

Update db.inc.php to suit your database server setups:

 vi /var/www/cp/config/db.inc.php

By default opensips-cp will save subscriber password in plain text, we have to change this. What we want is the password not in plain text format. Edit local.inc.php and update value of $config->passwd_mode from 0 to 1. Value 1 will make opensips-cp calculate hash ha1 and ha1b, and save it in database.

 vi /var/www/cp/config/tools/users/user_management/local.inc.php

More configurations are stored in every "inc" files in /var/www/cp/config and its sub-directories. We might need to edit boxes.global.inc.php to suit our server installations:

 vi /var/www/cp/config/boxes.global.inc.php

Browse: http://your_opensips-cp_server_IP/cp/web/

Login with default user admin and password is admin.

--
Anton Raharja
http://www.antonraharja.com

조회 수 :
97282
등록일 :
2014.03.06
18:54:53 (*.251.139.148)
엮인글 :
http://webs.co.kr/index.php?document_srl=38967&act=trackback&key=3a6
게시글 주소 :
http://webs.co.kr/index.php?document_srl=38967
List of Articles
번호 제목 글쓴이 조회 수 추천 수 날짜sort
22 Open Source VOIP applications, both clients and servers. admin 45099   2013-11-20
 
21 OfficeSIP Server is freeware VoIP, SIP server for Windows admin 55604   2013-09-11
 
20 My new toy: Bluebox-ng admin 92685   2013-04-06
 
19 Asterisk Installation Asterisk Realtime configuration admin 46799   2013-04-06
 
18 Flooding Asterisk, Freeswitch and Kamailio with Metasploit admin 101849   2013-04-06
 
17 The SIP Router Project admin 46077   2013-04-06
 
16 Kamailio :: A Quick Introduction admin 82712   2013-04-06
 
15 OpenSIPS vs Asterisk admin 223646   2013-04-06
 
14 Kamailio 3.3.x and Asterisk 10.7.0 Realtime Integration using Asterisk Database admin 53387   2013-04-06
 
13 Welcome to the Smartvox Knowledgebase admin 105983   2013-04-06
 
12 OpenSER_from_an_asterisk_POV file admin 39779   2013-04-06
 
11 Using SIP Devices behind NAT OPensip Asterisk IPPhone SIP Telephony file admin 229098   2013-03-31
 
10 rfc5766-turn-server admin 42244   2013-03-21
 
9 OpenSIPS Kick Start‎: VIDEO admin 39699   2013-02-20
 
8 OPENSIP Training VIDEO admin 37988   2013-02-20
 
7 What is new in 1.8.0 opensip admin 255716   2012-05-21
 
6 Asterisk v1.4x built on FreeBSD v7.1 UNIX admin 152397   2012-01-06
 
5 SIP 트래픽 생성 테스트 툴 admin 138645   2011-12-23
 
4 사설 망 환경에서 SIP 의 NAT Traversal 문제 admin 147027   2011-12-23
 
3 the OpenSIPS Project OpenSIP admin 46537   2011-12-14
 
2 OpenH323 Gatekeeper - The GNU Gatekeeper admin 54515   2011-12-14
 
1 The FreeRADIUS Project admin 44992   2011-12-14