Corosync Failover High-Availability Kamailio Pacemaker SIP VoIP

Kamailio: High-Availability/Failover with Corosync and Pacemaker on Debian 7

In this setup, we will have 2 Kamailio servers, referred to as ‘nodes’. One will be active and one will standby. There is a 3rd ‘floating’ IP that is moved to which ever node is active. Kamailio should be configured to use the floating IP. In this example, the nodes are: kam01: kam02: […]

Kamailio RTP RTPProxy SIP VoIP

RTPProxy: Compiling & Installing on Debian 8

cd /usr/src/ git clone cd rtpproxy ./configure make make install cp scripts/rtpproxy.init.debian /etc/init.d/rtpproxy chmod +x /etc/init.d/rtpproxy sed -i “s/DAEMON=\/usr\/bin\/rtpproxy/DAEMON=\/usr\/local\/bin\/rtpproxy/g” /etc/init.d/rtpproxy cat > /etc/default/rtpproxy <<EOT # Defaults for rtpproxy # I like to use same user as Kamailio when running on Kamailio box USER=”kamailio” GROUP=”kamailio” PIDFILE=”/var/run/” # replace with your network interface IP address LISTEN_ADDR= […]


FreeSWITCH: High call volume alert script

I was tasked to come up with a way to monitor for high call volume in FreeSWITCH. I came up with this here is a simple script that will check the channel count and email me if it’s greater than $MAX_CALLS   #!/bin/bash MAX_CALLS=100 CHANNEL_COUNT=$(/usr/bin/fs_cli -x “show channels count” | awk ‘/total/ {print $1}’) if […]

Kamailio SIP VoIP

Kamailio: Compiling & Installing on Debian 8

Here we will compile and install Kamailio from GIT master branch and create our own systemd service configuration file. # install dependencies apt-get install libpq-dev pkg-config build-essential bison make libperl-dev git linux-headers-$(uname -r) libunistring-dev flex libjson-c-dev libevent-dev # download & compile cd /usr/src git clone git:// kamailio-git cd kamailio-git # include your own modules, these […]