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.mcgo...@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