voipmonitor installation on Ubuntu 14.04 and 16.04 – SillyCodes
Dependencies :
First of all, let’s install all the dependencies. Here we are going to install VoIPMonitor from source code so we need all these dependencies installed. So let’s get started by installing following packages.
1
|
sudo apt–get –y install cmake unixodbc–dev libcurl4–openssl–dev libgcrypt11–dev rrdtool libvorbis–dev curl libpcap–dev libpng12–dev libfftw3–dev libjson0–dev libssh–dev librrd–dev libglib2.0–dev liblzma–dev liblzo2–dev
|
We also need snappy, get the snappy source code from GitHub and run the following commands to install.
SNappy Install on Ubuntu:
1
2
3
4
5
6
7
8
|
cd /usr/src
sudo git clone https://github.com/google/snappy.git
cd snappy/
sudo mkdir build
cd build
sudo cmake ../
sudo make
sudo make install
|
Install gperftools :
we need the following dependency for gperftools
1
|
apt–get install dh–autoreconf
|
Now clone the gperftools GitHub repo and install
1
2
3
4
5
6
7
|
cd /usr/src/
sudo git clone https://github.com/gperftools/gperftools
cd gperftools
sudo ./autogen.sh
sudo ./configure —prefix /usr
sudo make
sudo make install
|
Now we have all dependencies in our system, Now go ahead and install the VoIPMonitor to monitor all your VoIP calls.
Installing VoIPmonitor on Ubuntu :
Goto your desired folder and clone the VoIPMonitor GitHub repo and run the following configure, make and make install commands.
1
2
3
4
5
6
|
cd /usr/src
sudo git clone https://github.com/voipmonitor/sniffer.git
cd sniffer/
sudo ./configure
sudo make
sudo make install
|
Now VoIPMonitor is installed on your system, You can configure the VoIPMonitor using it’s configuration file, Which is located at /etc/voipmonitor.conf.
Analysing PCAP files using VoIPMonitor:
We can analyze the PCAP files using the VoIPMonitor, Run the following command to get the Jitter and packet loss and all call related data.
1
|
voipmonitor —config–file /etc/voipmonitor.conf –r test.pcap
|
That’s it. You have successfully installed and configured VoIPMonitor.