[asterisk-users] send voicemail to multiple emails
Sherwood McGowan
sherwood.mcgowan at gmail.com
Mon Apr 11 12:34:22 CDT 2011
On 4/11/2011 12:30 PM, vip killa wrote:
> Would be so much simpler if "mailcmd" acted just like "externnotify"
> or "externnotify" only ran when a message was left but not when
> someone checks their voicemail...
>
>
> That's pretty much where you're at. What gets passed to STDIN is an
> email, it's not set up for use by a script. Remember, what you're
> doing
> is asking Asterisk to do something out of the ordinary, hence why
> having
> an email alias is typically the best solution.
>
>
> --
> _____________________________________________________________________
> -- 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
I think you're confused about how it works. When someone leaves a
voicemail, Asterisk sends a notification email, by piping an email to
the defined mailcmd (by default, again, 'sendmail -t')...which is
exactly what you're "wishing" it did....maybe you need to do some more
reading?
Why do you think it works in a different way?
--
Sherwood McGowan <sherwood.mcgowan at gmail.com>
Carrier, ITSP, Call Center, and PBX Solutions Consultant
More information about the asterisk-users
mailing list