Receive voice call alert of new email messages

Just spent a few hours hacking together a small script for my Asterisk PBX that checks a IMAP folder for new unseen messages and calls my cell when it sees any. If I pickup it also reads me the number of new messages using a simple text to speech engine.

The script is written in php and executed by cron every half hour. Basically it uses the php imap_header function to check for email and if there are 1 or more unseen messages it places a .call file in the asterisk spool directory.

I want to test the script for a while before posting it just to make sure that it works without any problems.

This entry was posted in Computer software, HowTo and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>