[Home]

Summary:ASTERISK-09064: [patch] email messages containing voicemail are not encoded properly on Exchange
Reporter:John Marwick (marwick)Labels:
Date Opened:2007-03-21 08:34:13Date Closed:2007-06-13 14:54:52
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisknow-voicemail.JPG
( 1) outlook_voicemail_attachments_svn.diff
( 2) outlook_voicemail_attachments.patch
Description:Platform: AsteriskNow 1.4.1, fully updated + MS Exchange 2003 SP1 + Outlook 2003 SP1.

When voicemail sends email message with the wav file to the user - the message is not encoded properly.

I am using Microsoft Exchange 2003 SP1 as mail server and the message is clearly missing headers so it appears as there is no message sender or subject. The message is however visible in Outlook (2003 SP1), but as pure text message, i.e. you can see something like

From: Asterisk System
To: myusername@sample.com

You have bla bla

and then MIME encoded wav file.

Since the message encoding is not well done, I can't open the attachment, and Outlook does not pick up correctly "from" address, subject lines, etc.

I assume this is a minor compatibilty/encoding issue and should be easy to fix. I believe this is an important feature given in mind the number of Exchange implementations worldwide.

Please find attached an image with a sample email mesage.


****** ADDITIONAL INFORMATION ******

I have configured the SMTP gateway on the appliance, the AsteriskNOW interface does not have any email settings apart from setting the WAV file encoding.

Please find attached an image with a sample email mesage.
Comments:By: Serge Vecher (serge-v) 2007-03-21 09:13:53

this was fixed recently in 1.4 svn I think. Can you please retry your test with 1.4 checked out from svn?

By: mutterc (mutterc) 2007-03-27 05:00:27

1.4.2 didn't have any change to the message format, and a client of mine saw the bug in 1.4.1.
The patch I just posted fixes it for he and I, the attachments work in Outlook, Thunderbird, and my email client of choice, mutt :-)
It's a bit cargo-cult-y; I looked at a message Outlook generated and tweaked the format of the one generated by * to be similar.

By: Serge Vecher (serge-v) 2007-03-27 08:50:40

can you please upload a patch generated by "svn diff" command instead? Also, please mention your disclaimer status.

By: mutterc (mutterc) 2007-03-30 21:03:30

svn diff attached.

I have a disclaimer on file from July 2004. (I don't end up patching often, * usually works fine for me :-)

By: Serge Vecher (serge-v) 2007-04-02 08:28:42

we need to make sure that this change does not break other clients.

By: Mark Michelson (mmichelson) 2007-06-13 14:54:52

I tested this using Pine and Evolution, and the patch works with those. That brings the total clients for which the patch works to Outlook, Thunderbird, Evolution, Pine, and Mutt.

I have committed the patch and am closing the issue.
Fixed in 1.4 in SVN revision 69180
Fixed in trunk in SVN revision 69182