http://www.voip-info.org/wiki/view/Asterisk+config+voicemail.conf

mailcmd Mailcmd allows the administrator to override the default mailer command with a defined command. Mailcmd takes a string value set to the desired command line to execute when a user needs to be notified of a voice mail message. The default command line is: '/usr/sbin/sendmail -t'. A useful alternative to sendmail is Exim which many people find easier to configure. Examples

 ; - you will need to escape any < or > characters with a \
 mailcmd=/usr/sbin/sendmail -v -t -f [email protected]   ; use -f to prevent [email protected] or similar
 mailcmd=/usr/exim/bin/exim -t
 ; - use the next line for testing
 mailcmd=cat \> /tmp/astvm-mail

 

-------- Original Message --------
Subject: [asterisk-users] Not receiving voicemail message in mailbox
From: jonas kellens <[email protected]>
Date: Fri, May 08, 2009 1:32 am
To: Asterisk Mailing <[email protected]>

It should be as simple as editing voicemail.conf :

; Voicemail Configuration
;
[general]
; Formats for writing Voicemail.  Note that when using IMAP storage for
; voicemail, only the first format specified will be used.
format=wav49|wav|gsm
; Who the e-mail notification should appear to come from
serveremail=asterisk-voicemail
; Should the email contain the voicemail as an attachment
attach=yes
; Maximum length of a voicemail message in seconds
maxmessage=180
; Minimum length of a voicemail message in seconds for the message to be kept
; The default is no minimum.
minmessage=2
; How many milliseconds to skip forward/back when rew/ff in message playback
; *  during msg playback: Rewind
; #  during msg playback: Fastforward
skipms=3000
; How many seconds of silence before we end the recording
maxsilence=10
; Silence threshold (what we consider silence: the lower, the more sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
; Opmaak e-mail die moet verstuurd worden :
emailsubject=Nieuw voicemailbericht in mailbox ${VM_MAILBOX} !
;emailbody=Beste,\n\n\t Er is een nieuw voicemailbericht nagelaten in mailbox ${VM_MAILBOX} op ${VM_DATE}.\n\n\t Dit bericht is ${VM_DUR} lang en komt van $
{VM_CALLERID} (${VM_CIDNUM}). \n\n\t Je kan het bericht beluisteren door te bellen naar '99' of via het bijgevoegde WAV-bestand (${VM_MESSAGEFILE}).\n\n\t B
edankt!\n\n\t\t\t\t--Asterisk--\n
; Set the date format on outgoing mails.
; 24h date format
emaildateformat=%A, %d %B %Y at %H:%M:%S
; Attach messages to e-mail notifications?
attach = yes
; Context to call back from 
callback=from-voicemail

[zonemessages]
belgie=Europe/Brussels|'vm-received' Q 'digits/at' R

[voicemail-context]

; Syntax for new entries looks like this:
; MailboxNumber => password,name,e-mail,pager,options
50 => 4569,Jonas Kellens,[email protected],,tz=belgie|attach=yes

But I do not receive an e-mail after having left a voicemail message on the voicemailbox 50.

What mail-server does Asterisk uses to send his mail ???
Sendmail is not active on my CentOS-box. I have msmtp + mutt to send me weekly the logfiles. Could it be that ??

Greetingz,
Jonas.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to