Categories
Docker FreeSWITCH SIP VoIP

freeswitch container from scratch using DIND

In this post, I’m going to demonstrate how to build a docker container from a scratch image that will run FreeSWITCH. I’ve always liked scratch because it’s the most minimal docker image available, and in my mind, that really meshes well with the entire concept of docker containers. But I’ll give a bit of my […]

Categories
FreeSWITCH JANSSON-RPC Kamailio NSQ RTP SIP VoIP

Kamailio and FreeSWITCH on the same server with NSQ and JANSSON-RPC

This post will demonstrate how to run FreeSWITCH and Kamailio on a single server. FreeSWITCH will handle authentication and act as registrar while Kamailio will handle presence updates using the NSQ module. You might be wondering why this setup would be useful. The reason we found, is that FreeSWITCH is not so great at handling […]

Categories
FreeSWITCH SIP VoIP

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 […]