Call Notification script on Mac OS X

The following is my shell script to notify the number received, it connects to the Asterisk server via telnet. Using expect program to monitor the AMI and it will notify the Mac Notification Center when there is an incoming call. All you need is to have the script run on your Mac. Although I have not tried the script on other OS, this is a shell script very easy to understand and change accordingly.

1 Like