some blag

July 18, 2008

Gajim Asterisk AMI Script

Filed under: misc, ohdearhereallywrotethat — andrew @ 7:27 pm

Following in the great Siman’s footsteps, I have written a script that is actually useful*.

What script, you ask? A script to place a call, using Asterisk’s AMI, if Gajim receives a message while you are away. If someone calls you and your status is not online, the script will call the phone number you provided and let you know the name of the person that has messaged you and their message. Festival is used to perform the text-to-speech function.

A working Festival installation is required, using the Perl AGI method. It can easily be modified to use the Festival() command instead if desired. pyst is also required for communicating with the AMI.

The script is located at this git repository.

* Please negate when reading.

Powered by WordPress