Overview:
1. Download the tarball
2. Unzip it into /root
3. Insert your email notification address into trunkcheck.sh
4. Add entry to /etc/crontab to run trunkcheck.sh as often as you like
5. You'll get email alerts whenever a trunk fails on your server
6. Automatically issues iptables-restart for failed SIP trunk*
* Requires Travelin' Man 3 for iptables-restart support
Installation:
1. Download the tarball
2. Unzip it into /root
3. Insert your email notification address into trunkcheck.sh
4. Add entry to /etc/crontab to run trunkcheck.sh as often as you like
5. You'll get email alerts whenever a trunk fails on your server
6. Automatically issues iptables-restart for failed SIP trunk*
* Requires Travelin' Man 3 for iptables-restart support
Installation:
Code:
cd /root
wget http://pbxinaflash.com/trunkcheck.tar.gz
tar zxvf trunkcheck.tar.gz
nano -w trunkcheck.sh
echo "5 * * * * root /root/trunkcheck.sh > /dev/null 2>&1" >> /etc/crontab