한국어

소프트스위치

온누리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

조회 수 :
95914
등록일 :
2014.03.06
18:54:53 (*.251.139.148)
엮인글 :
http://webs.co.kr/index.php?document_srl=38967&act=trackback&key=ac1
게시글 주소 :
http://webs.co.kr/index.php?document_srl=38967
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
51 2017 08 31 opensips 2.32 install debian8.8 module install compile err modules admin 2017-09-04 42175
50 opensips command /sbin/opensipsctl detail admin 2017-09-04 124816
49 compile only the textops module make modules=modules/textops modules admin 2017-09-05 19116
48 Installing RTPEngine on Ubuntu 14.04 admin 2017-09-05 32192
47 rtpengine install and config admin 2017-09-05 58423
46 OpenSIPS basic configuration script 기본 컨피그 admin 2017-09-05 105101
45 WebSocket Transport using OpenSIPS configuration 웹 소켓 컨피그레이션 기본 admin 2017-09-06 20967
44 rtpengine config basic and opensips configuration and command admin 2017-09-06 53372
43 오픈소스 (사내)메신저 서버 구축, 오픈 파이어(openfire) 설치방법과 세팅(리눅스 기준) admin 2017-09-09 72300
42 PUSH SERVER 푸시서버 안드로이드 애플 admin 2017-09-11 208236
41 Advanced SIP scenarios with Event-based-Routing admin 2017-09-11 33162
40 opensips.cfg. sample admin 2017-09-12 24124
39 Fail2Ban Freeswitch How to secure admin 2017-09-12 61270
38 OpenSIPS command line tricks admin 2017-09-13 44993
37 SIP to XMPP Gateway + SIP Presence Server opensips admin 2017-09-13 52110
36 How to setup a Jabber / XMPP server on Debian 8 (jessie) using ejabberd admin 2017-09-13 123954
35 opensips tls cfg admin 2017-09-14 29824
34 Using TLS in OpenSIPS v2.2.x admin 2017-09-14 44795
33 Documentation -> Tutorials -> TLS opensips.cfg admin 2017-09-14 24671
32 openssl 을 이용한 인증서 생성 절차를 정리한다. 개인키 CSR SSL 인증서 파일 생성 admin 2017-09-14 23661
31 opensips configuration config explain easy basic 오픈쉽스 컨피그레이션 기본 설명 file admin 2017-12-07 21839
30 OpenSIPS Module Interface admin 2017-12-07 42152
29 opensips push notification How to admin 2017-12-07 21402
28 opensips exec module admin 2017-12-08 18603
27 in opensips what is has_totag() admin 2017-12-09 21914
26 in opensips db_does_uri_exist() what is admin 2017-12-09 18177
25 in opensips what is lookup(domain [, flags [, aor]]) admin 2017-12-09 91093
24 what is loose_route() in opensips ? file admin 2017-12-09 23642
23 what is record_route() in opensips ? admin 2017-12-09 24263
22 dictionary.opensips radius admin 2017-12-09 94995