Mike Diehl
2013-Sep-11 17:55 UTC
[asterisk-users] VM notification to multiple email recipients
Hi all, I've got a user who wants to receive voicemail notifications at two different email addresses. I could probably setup an alias in /etc/aliases, but then I'd have to manage that across multiple servers, which I don't want to do. Is there a way I can tell Asterisk to send to multiple addresses? Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130911/327ed9a8/attachment.htm>
Carlos Rojas
2013-Sep-11 18:14 UTC
[asterisk-users] VM notification to multiple email recipients
Hi You can do this, http://mike.eire.ca/2012/02/03/asterisk-1-8-vm-multiple-emails/ If you are using asterisk 1.8 On Wed, Sep 11, 2013 at 1:55 PM, Mike Diehl <mdiehlenator at gmail.com> wrote:> Hi all, > > I've got a user who wants to receive voicemail notifications at two > different email addresses. I could probably setup an alias in > /etc/aliases, but then I'd have to manage that across multiple servers, > which I don't want to do. > > Is there a way I can tell Asterisk to send to multiple addresses? > > Mike > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130911/e35a323f/attachment.htm>
If you use a standard command line mailer (like mail, or mutt), then you can simply concatenate the email addresses. You could do something like this: [globals] ... EMAIL=mdiehlenator at gmail.com,abc at nowhere.com,def at nowhere.com, ... same => n(sendit),System(echo "${msg}" | mutt -s "blabla" ${EMAIL})
A J Stiles
2013-Sep-12 08:15 UTC
[asterisk-users] VM notification to multiple email recipients
On Wednesday 11 September 2013, Mike Diehl wrote:> Hi all, > > I've got a user who wants to receive voicemail notifications at two > different email addresses. I could probably setup an alias in > /etc/aliases, but then I'd have to manage that across multiple servers, > which I don't want to do. > > Is there a way I can tell Asterisk to send to multiple addresses? > > MikePersonally, I'd set up a whole new user account to receive the notification e- mails, and then use a procmail recipe to forward it to the necessary accounts. Or if I was feeling particularly lazy, I'd tell the user to go and $ man procmailrc ;) -- AJS Answers come *after* questions.