[asterisk-users] send voicemail to multiple emails
vip killa
vipkilla at gmail.com
Mon Apr 11 12:41:28 CDT 2011
I'm not confused about this...
Everytime a voicemail is left, I need asterisk to run a script that will
query a database, and according to those results perform various actions.
These actions include calling a number and connecting it directly to
voicemailmain and/or sending out multiple emails... I'm able to accomplish
this using mailcmd, reading the STDIN, parsing out what i need such as the
mailbox but I'm not sure how stable this method is.... I'd rather use
externnotify because it is designed to a run script ....
On Mon, Apr 11, 2011 at 1:34 PM, Sherwood McGowan <
sherwood.mcgowan at gmail.com> wrote:
> 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
>
>
> --
> _____________________________________________________________________
> -- 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/20110411/41d91ad5/attachment.htm>
More information about the asterisk-users
mailing list