[Asterisk-Users] Voicemail email notification

Rich Adamson radamson at routers.com
Thu Dec 23 16:19:49 MST 2004


> > > Are there any common silent failure modes for email
> > > notification from the Voicemail module.  I put the
> > > email and pager email addresses in my entry in
> > > voicemail.conf but no mail gets sent when I leave
> > > a voicemail.  No obvious error messages either,
> > > unless I'm just not looking in the right place.
> > > 
> > > Thanks for any clues :)
> > 
> > Nop, that's it other then you have to have sendmail configured
> > and running on the system (or have a substitute mail handler).
> >
> sendmail is running (well, actually, it's postfix, but it
> responds to /usr/sbin/sendmail) ...  still no mail gets
> sent.  is there any way to get * to log what happens when
> it tries to call sendmail?

You should see asterisk logging the email in /var/log/asterisk/messages
like this:
Dec 19 09:07:58 DEBUG[31885]: Sent mail to 2011234567 at yourcarrier.com with co
mmand '/usr/sbin/sendmail -t'   

And, the mail handler (in my case, sendmail) in /var/log/maillog.

Might have to play around with the asterisk debug level to get the
entries (since it says "DEBUG" in the above). Check /etc/asterisk/logger.

Rich





More information about the asterisk-users mailing list