Fabian Garcia
2004-Oct-18 12:05 UTC
[Asterisk-Users] How to make asterisk send email notification of voicemessages?
_____ From: Fabian Garcia [mailto:fabian@blackluna.org] Sent: Friday, October 15, 2004 7:25 PM To: asterisk-users@lists.digium.com Subject: How to make asterisk send email notification of voicemessages? Hi, I've been trying to have Asterisk to email user each time a voice message is left. I am quite lost on how to do this, where should the pop and stmp settings be written? Or just simply how should one proceed? Any help? TX Fabian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041018/c29f8583/attachment.htm
Leif Madsen
2004-Oct-18 12:16 UTC
[Asterisk-Users] How to make asterisk send email notification of voicemessages?
On Mon, 18 Oct 2004 15:05:40 -0400, Fabian Garcia <fabian@blackluna.org> wrote:> Hi, > > I've been trying to have Asterisk to email user each time a voice message is > left. I am quite lost on how to do this, where should the pop and stmp > settings be written? Or just simply how should one proceed?First, make sure your mail server can send emails. Seconds, in voicemail.conf, you are going to want to make sure that there is an email address on your voicemail config line. For example: [default] 1000 => 1234,General Mailbox,user@host.com If you want the voicemail attached, in the [general] section add: attach=yes HTH, Leif Madsen. http://www.asteriskdocs.org
Luis Czop
2004-Oct-18 12:30 UTC
[Asterisk-Users] How to make asterisk send email notification of voicemessages?
To configure smtp in your Asterisk server, you can try with these lines in /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.200.171 sun50.my_domain.com.ar sun50 # This Asterisk server 192.168.200.1 my_mail my_mail.my_domain.com.ar mailhost # Exchange server (I have replaced the real server and domain names with my_mail and my_domain) The important word is mailhost. Be sure that sendmail is running. Best regards Luis -----Mensaje original----- De: Fabian Garcia [mailto:fabian@blackluna.org] Enviado el: Lunes, 18 de Octubre de 2004 04:06 PM Para: asterisk-users@lists.digium.com Asunto: [Asterisk-Users] How to make asterisk send email notification of voicemessages? _____ From: Fabian Garcia [mailto:fabian@blackluna.org] Sent: Friday, October 15, 2004 7:25 PM To: asterisk-users@lists.digium.com Subject: How to make asterisk send email notification of voicemessages? Hi, I've been trying to have Asterisk to email user each time a voice message is left. I am quite lost on how to do this, where should the pop and stmp settings be written? Or just simply how should one proceed? Any help? TX Fabian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041018/788ebb76/attachment.htm
Michael Loftis
2004-Oct-18 12:31 UTC
[Asterisk-Users] How to make asterisk send email notification of voicemessages?
app_voicemail.c/VoiceMail invokes the sendmail command internally to send email. You must have postfix, sendmail or exim, or some other MTA that provides a sendmail compatibility binary. See voicemail.conf for the setting that tells it where to look for the binary. Right now app_voicemail.c does not connect directly via SMTP itself. Sending mail has nothing to do with POP3. The system merely invokes sendmail, passes in the message it wants to send to the address specified in the mailbox configuration and that's it.