![]() ![]() $spoolpath = "/var/spool/asterisk/outgoing/" # asterisk's call spool $cfpath = "/etc/labor-task-reminder/callfiles/" # path for cfiles, mind the slash at the end! $dpath = "/etc/labor-task-reminder/dates/" # path for dates A small perl script looks into a directory (/etc/labor-task-reminder/dates) and copies a predefined call file into asterisk's spool directory if there's a file with a date that's < 30 Hours ahead. This project uses this feature in order to set the reminders. If a file's timestamp is older than the present time, it executes the commands within the file. It scans that directory regularly and parses the timestamps of the files therein. Asterisk allows to place "call files" into a spool-directory. The asterisk phone reminder is a simple tool that calls you before an "important" event occurs. The following describes our current implementation of a task-reminding telephone bot utilizing asterisk. What if your phone could remind you to take out the trash.? This is a nice feature, especially for a hackerspace where many people come, leave and nobody is keen on taking responsibility for this kind of task. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |