I'm having trouble configure voicemail to send emails.
I have Asterisk 1.6 running on a Synology ds108j. I've installed nail to be able to send emails under my gmail credentials.
Basically, I can get Asterisk to send an email, but with the following observations:
1. Only wav49 format works. If I set format=wav, I get errors such as 'Can't find format wav'
2. I don't seem able to override the default 'messagebody'. The email that is sent always comes through with some default message "Just wanted to let you know you were just left a 0:04 long message ..."
3. The 'wav' attachment isn't coming through as an attachment, but instead arrives as some 'MIME mulitpart' nonsense:
Content-Type: text/plain; charset=ISO-8859-1
Just wanted to let you know you were just left a 0:04 long message (number 1)
in mailbox 2000 from xxx, on Wednesday, April 18, 2012 at 07:29:20 AM so you might
want to check it when you get a chance. Thanks!
Content-Type: audio/x-WAV; name="msg0000.WAV"
Content-Description: Voicemail sound attachment.
Content-Disposition: attachment; filename="msg0000.WAV"
My voicemail.conf file is along the lines of:
Any assistance will be much appreciated, I've been battling with this for hours!