Hi there, Sorry for the late reply. I had too many emails in my mailbox to clean up. Anyway, I found out the problem is the sendmail in Linux did not work and the voicemail.conf in our asterisk is ok. There is another issue for email notification: some email servers rejects the email from asterisk. My engineer added Asterisk IP into the DNS to slove the email rejection issue. Thanks for those who replied this email. Best regards, Larry ------------------------------ Message: 21 Date: Thu, 11 Aug 2005 20:46:39 +0530 From: Gurminder Arora <gurmi.linux@gmail.com> Subject: Re: [Asterisk-Users] re: how to set the voice message as email attachment ? To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Message-ID: <e5d0d9d705081108163334a4d7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 I think you can add these lines in voicemail.conf emailsubject=[VMBOX]:New message ${VM_DATE} emailbody=Hello ${VM_NAME}:\n\tYou have a new voice message.\n\tMessage Duration: ${VM_DUR} mins\n\tCaller ID: ${VM_CALLERID}\n\t( !)\n\t Date: ${VM_DATE}. \nThanks!\n--The Netlabs SoftCall Service\n filename='voicemail' attach=yes saycid=yes sendvoicemail=yes review=yes operator=yes delete=yes -------------------------------------------------------- Do tell me it works .... Bye Gurminder On 8/11/05, larry lin <lar_lin@hotmail.com> wrote:>Hi there, > > I am using redhat 9.0 with asterisk 1.0.7. > I created an user and was be able to leave voice messages to that user >and retrieve the voice message. I looked the wiki and setup the voice >message as the email attachment. However, I have never received email with >the voice attachment. Here is the setting for voicemail.conf: > >; >; Voicemail Configuration >; >[general] >; Default formats for writing Voicemail >;format=g723sf|wav49|wav >;format=wav49|gsm|wav >format=wav >; Who the e-mail notification should appear to come from >serveremail=operator@teltel.com >;serveremail=asterisk@linux-support.net >; Should the email contain the voicemail as an attachment >attach=yes >;Turn on/off envelope playback before message playback. [ON by default] >envelope=yes >; Maximum length of a voicemail message in seconds >;maxmessage=180 >; Minimum length of a voicemail message in seconds >;minmessage=3 >; Maximum length of greetings in seconds >;maxgreet=60 >central=America/Chicago|'vm-received' Q 'digits/at' IMp >central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M >'hours' > >[default] >3114 => 3114,larry lin,lar_lin@yahoo.com,,attach=yes > > >Do I missing anything ? Thanks in advance. > >Larry