On 8/05/2009 2:10 a.m., Steve Howes wrote: > On 7 May 2009, at 15:04, Cary Fitch wrote: >> Can any one suggest a little code to either ring a cell phone when a >> new VM >> message is recorded, or send a text message? >> >> Basically outside sales people want to know they have a new message, >> but >> don't want to be interrupted to take a forwarded call. >> >> While a message by message notice would be nice, even just a single >> notice >> on the first message would be an alert to call for messages. >> >> Basically, a call from their own number would be the clue that there >> is a >> voicemail waiting. > > Make a cron job to check if /var/spool/asterisk/default/extensionhere/ > msg000.txt exists and create a .call file. Its fairly trivial to do, > but I can't give the exact config because it was written at work... > Alternatively there are email->text services you could use from the > email voicemail alerting in asterisk..
I'd actually recommend one of two options: 1) Incron - runs a script when a directory changes: http://inotify.aiken.cz/?section=incron&page=why&lang=en 2) voicemail.conf's externotify (or similar) setting -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
