Install Voip Monitor On Centos 6.2


Menggunakan protocol SIP trunk pada system VOIP sangat menghemat biaya. Namun masalah yang paling sering muncul pada sistem voip ini adalah  terletak pada releabitilas koneksi. Banyak tools monitoring voip call namun yang satu ini menurut saya lebih informative.

Voipmonitor ini meng-capture hampir semua informasi call inbound dan outbound. Semua log di simpan di database dan melakukan perhitungan seperti MOS.  Dari MOS ini kita dapat mengukur qulitas call dengan mensort. Jika MOS bernilai dibawah 4.0 mungkin memiliki JITTER atau LAG di audio.

Berikut adalah cara instalasinya
1. Instalasi library
yum install subversion libmysql++-dev libvorbis-devel mysql-devel libpcap-devel php5-mysql php5-gd
2. Download Installer
libpcap-1.1.1.tar
mysql++-3.0.9.tar
voipmonitor-3.0.1.tar
3. Tahap instalasi
tar xzf libpcap-1.1.1.tar.gz -C /usr/src/
cd /usr/src/libpcap*
./configure && make && make install

tar xzf mysql++-3.0.9.tar.gz –C /usr/src/
cd /usr/src/mysql++-3.0.9
make install && ldconfig
cp /usr/local/lib/libmysqlpp.so.3 /usr/lib/
cp /usr/local/lib/libmysqlpp.so.3 /usr/lib64/

tar zxf voipmonitor-2.0.tar.gz –C /usr/src/
cd /usr/src/voipmonitor-2.0
make && make install
cp /usr/local/lib/libpcap.* /usr/lib
cp /usr/local/lib/libpcap.* /usr/lib64
4. Instalasi database voipmonitor
mysql –udbusername–pdbpassword–e “create database voipmonitor”
mysql –udbusername–pdbpassword –database voipmonitor < cdrtable.sql

5. Testing
Jalan via command line
voipmonitor -i eth0 -SRG -h localhost -b voipmonitor -u dbuser -p dbpassword

Note : eth0 = interface (disesuaikan dengan interface yang aktif)

Lakukan pengecekan langsung ke database untuk melihat data yang direcord:)

Selamat mencoba

 

What is required
================

– C and C++ compiler (gcc,g++)
– libpcap-dev package >= 1.0
– zlib ibrary
– Libogg, Libvorbis
– unixODBC-devel

– Make sure mysql is installed when building CentOS
– Under the Web Server include the mysql-devel and php-mysql packages

Pre-Build
=========

yum groupinstall ‘Development Tools’
yum install subversion unixODBC-devel mysql-devel libogg libogg-devel vorbis-tools libvorbis libpcap-devel

(for older centos < 6.3)
————————
wget http://www.tcpdump.org/release/libpcap-1.3.0.tar.gz
tar xzf libpcap-1.1.1.tar.gz
cd libpcap*
./configure
make
make install

Build voipmonitor
=================
svn co https://voipmonitor.svn.sourceforge.net/svnroot/voipmonitor/trunk voipmonitor-svn
cd voipmonitor-svn
rm Makefile
./configure
make

make install
mkdir /var/spool/voipmonitor
chown apache /var/spool/voipmonitor

Post Build
==========

Start mysql
———–
yum install mysql-server
chkconfig mysqld on
service mysqld start
mysqladmin create voipmonitor
cat cdrtable.sql | mysql voipmonitor
cp config/voipmonitor.conf /etc/
#edit file /etc/voipmonitor.conf to your needs
cp config/init.d/voipmonitor /etc/init.d/
chkconfig –add voipmonitor
chkconfig voipmonitor on

Web Interface
=============

Enable Apache
————-
yum install httpd php php-gd php-mysql php-process
chkconfig httpd on
service httpd start

Install the voipmonitor Interface
———————————
go to voipmonitor.org/download and download manual and GUI

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

shisdew

Listens until think alike

moses.spaceku@yahoo.com / voip ipbx

Hosted PBX, IP-PBX SOHO/ CALL CENTER, VOICE GATEWAY, VOICE CARD, COST EFECTIVE SOLUTIONS (LCR), GSM/CDMA GATEWAY

%d bloggers like this: