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. Thanks Cary Fitch
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.. S
> -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users- > bounces at lists.digium.com] On Behalf Of Cary Fitch> 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 thereis> a > voicemail waiting.Apologies for not offering code but this sounds like you should just modify the email notification text and set the email address to the email->sms gateway for the user in voicemail.conf. (ex 2125551212 at vtext.com) Another option would be to send the call to the cell phone's voicemail using the carrier's VM pilot number and RGN/RDNIS. This way the voicemail would actually be left on the cell phone's vm box for the sales person to collect. (Also has the effect of unifying their voicemail into one box for simplicity) sl
On Thu, 7 May 2009, 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, a call from their own number would be the clue that there is > a voicemail waiting.When I call my cell from my Asterisk box with caller ID set to the cell number, the call goes to ATT's voicemail, not my handset. I use this "feature" to listen to VMs from my desk phone. Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
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.As someone else mentioned, if you want a text message I'd have asterisk send an email to an email-SMS gateway, you'll probably want to trim the email message down and prevent an attachment though. If you want an actual phone call, I have a series of scripts I use to call a person when a new voicemail is left. I use the vmnotify option in voicemail.conf to call a script that checks if the number of messages in the inbox is greater than the last time it was called (so a user doesn't get a call after they check their messages) and if so, create a call file to contact them and automatically connect them to the voice mail system. If you want it I can send it to you. -Dave