Difference between revisions of "OpenSIPS: Instalasi Minimal di Ubuntu 16.04"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 37: | Line 37: | ||
pilih | pilih | ||
+ | |||
+ | Configure Compile Options | ||
+ | Configure Excluded Modules | ||
+ | [*] proto_sctp | ||
+ | [*] proto_tls | ||
+ | Save Changes | ||
+ | |||
+ | Generate OpenSIPS Script | ||
+ | Residential Script | ||
+ | Configure Residential Script | ||
+ | [*] ENABLE_TCP | ||
+ | [*] ENABLE_TLS | ||
+ | [*] USE_NAT | ||
+ | [*] USE_HTTP_MANAGEMENT_INTERFACE | ||
+ | Save Residential Script | ||
+ | Generate Residential Script | ||
+ | |||
Compile And Install OpenSIPS | Compile And Install OpenSIPS | ||
− | + | ||
Exit & Save All Changes | Exit & Save All Changes | ||
Revision as of 07:03, 21 October 2016
Sumber: https://www.opensips.org/Documentation/Install
Siapkan aplikasi pendukung
apt-get install flex bison gcc make perl libperl-dev libxmlrpc-core-c3 libxmlrpc-core-c3-dev \ unixodbc unixodbc-dev libfreeradius2 libfreeradius-client-dev libxml2 openssl libsctp1 libsctp-dev \ libexpat1 libexpat1-dev libldap-2.4-2 libldap2-dev libsnmp30 libsnmp-base libsnmp-dev libconfuse0 libconfuse-dev \ libmysqlclient-dev mysql-client mysql-server zlib1g zlib1g-dev libmysql++ libmysql++-dev libpcre3 \ libpcre3-dbg libpcre3-dev libncurses5-dev libmysqlclient-dev libsctp-dev libssl-dev
apt-get install perl libdbi-perl libdbd-mysql-perl libdbd-pg-perl libfrontier-rpc-perl libterm-readline-gnu-perl libberkeleydb-perl
Optional untuk DBD::Oracle
Download the .tar.gz archive from: http://search.cpan.org/~pythian/DBD-Oracle-1.22/Oracle.pm Decompress and unpack it cd DBD-Oracle-1.22 perl Makefile.PL make make test make install
Download Source Code
cd /usr/local/src wget http://opensips.org/pub/opensips/latest/opensips-2.2.2.tar.gz tar zxvf opensips-2.2.2.tar.gz cd /usr/local/src/opensips-2.2.2
Compile
make menuconfig
pilih
Configure Compile Options Configure Excluded Modules [*] proto_sctp [*] proto_tls Save Changes
Generate OpenSIPS Script Residential Script Configure Residential Script [*] ENABLE_TCP [*] ENABLE_TLS [*] USE_NAT [*] USE_HTTP_MANAGEMENT_INTERFACE Save Residential Script Generate Residential Script
Compile And Install OpenSIPS
Exit & Save All Changes
Copy scripts
cp -Rf /usr/local/src/opensips-2.2.2/scripts/* /usr/local/lib/opensips/opensipsctl/
Cek Configurasi
opensips -c -f /usr/local/etc/opensips/opensips.cfg