[Home]

Summary:ASTERISK-08097: voicemail system sending out mangled emails
Reporter:John Lange (johnlange)Labels:
Date Opened:2006-11-09 10:37:11.000-0600Date Closed:2006-11-09 16:35:17.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Since updating from 1.4b3 to SVN yesterday, emails sent out from the voicemail system seem to exhibit a couple problems. Text has "\n" and attachments come through as corrupted for outlook users. (Evolution and web based Horde/IMP does not seem to have a problem with the attachments though).



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

John Lange :
\n      You were just left a 0:08 long message (number 1)
in mailbox XXXXXXXXXX from "Joe Smith" <XXXXXXXXXX>, on Thursday, November 09, 2006 at 10:02:03 AM.
\n
Comments:By: John Lange (johnlange) 2006-11-09 11:05:17.000-0600

The attachments are not showing Outlook because there is no whitespace between the text and the attachment due to the unescaped "\n". Here is the sample email source:

Mike Hart:
\n      You were just left a 0:11 long message (number 1)
in mailbox 2049757116 from "JOE" <204XXXXXXX>, on Thursday,
November 09, 2006 at 10:11:02 AM.
\n
--voicemail_02049757116285681082262385
Content-Type: audio/x-WAV; name="msg0000.WAV"
Content-Transfer-Encoding: base64
Content-Description: Voicemail sound attachment.
Content-Disposition: attachment; filename="msg0000.WAV"

UklGRsZFAABXQVZFZm10IBQAAAAxAAEAQB8AAFkGAABBAAAAAgBAAWZhY3QEAAAAgFYBAGRh
dGGSRQAAK2lfEoUCYNxIjiSXImAbSbIrN0RgWyeOG0ktYCzHURyZkvllceYEuI0lS1K9BNhy

By: Joshua C. Colp (jcolp) 2006-11-09 16:35:16.000-0600

Fixed in 1.4 as of revision 47398 and trunk as of revision 47399. Thanks!