Fence Fixed
fencefixed
Fence Down!
fencedown
CallerID Spoofing Dialplan for Trixbox and Asterisk
Here is the callerID spoofing dialplan I made for Trixbox. Hope it helps. Here are the instructions.

[custom-calleridspoof]
exten => s,1,Playback(please-enter-the)
exten => s,n,Playback(ha/callerid)
exten => s,n,Read(calleridnum,then-press-pound)
exten => s,n,SayDigits(${calleridnum})
exten => s,n,Set(CALLERID(number)=${calleridnum})
exten => s,n,Playback(please-enter-the)
exten => s,n,Playback(telephone-number)
exten => s,n,Read(telnum,then-press-pound)
exten => s,n,SayDigits(${telnum})
exten => s,n,Playback(pls-hold-while-try)
exten => s,n,Dial(IAX2/teliax/${telnum})
Kanye's Mom flips again.
Damn. Your mom flipped over in her grave again Kanye. Poor thing can not rest in peace. Or plastic pieces for that matter. Now it looks like you have lost touch with reality. Another stupid wealthy person fucks up their career.
Ping Host Server then email
Infinite looping to test remote server. If it fails, email me:

#!/bin/bash
HOSTS="192.168.1.255"
for (( ; ; ))
do

COUNT=1 #only ping once

sleep 60 #pause for 1 minute

for myHost in $HOSTS
do
count=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if [ $count -eq 0 ]; then
# 100% failed
echo "Host : $myHost is down (ping failed) at $(date)" > /home/myprofile/pinglog
echo Server Down | mail -s "There server is down (ping failed) at $(date)" emailme@here.com, emailher@here.com
fi
done
done