Ticket #4482 (closed Bugs: fixed)

Opened 2 years ago

Last modified 1 year ago

Sending voicemail to email from ARI results in unusable txt attachment

Reported by: ffenton Assigned to: sasargen
Priority: minor Milestone: 2.9
Component: ARI Version: 2.7-branch
Keywords: Cc:
Confirmation: Need testing SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version: 1.4.26.2

Description

Sending voicemail to email from ARI results in unusable txt attachment. Email attachments from the voicemail application work fine.

It does not matter if I relay to an exchange server or send to root@localhost which never leaves sendmail

AsteriskNOW 1.7 CentOS 5.4 Asterisk 1.4.26.2 FreePBX 2.7.0.2 / ARI 2.7.0.2 Sendmail 8.13.8

Attachment header:

Content-Type: audio/x-wav Content-Disposition: attachment; filename="msg0000.wav" Content-Transfer-Encoding: base64

Attachments

ATT00001.txt (1.0 MB) - added by ffenton on 07/31/10 14:58:42.
Here is the voicemail attachment

Change History

07/31/10 14:57:14 changed by ffenton

Here are the email headers when sending through to an MS exchange server mailbox:

Received: from sc-asterisk.goh-inc.com (x.x.x.x) by SC-EXCH1.goh-inc.com

(x.x.x.x) with Microsoft SMTP Server (TLS) id 8.1.436.0; Sat, 31 Jul 2010 15:54:27 -0400

Received: from sc-asterisk.goh-inc.com (localhost.localdomain [127.0.0.1]) by

sc-asterisk.goh-inc.com (8.13.8/8.13.8) with ESMTP id o6VJsRUb021220 for <flf-at-goh-inc-dot-com>; Sat, 31 Jul 2010 15:54:27 -0400

Received: (from asterisk@localhost) by sc-asterisk.goh-inc.com

(8.13.8/8.13.8/Submit) id o6VJsQHS021219; Sat, 31 Jul 2010 15:54:26 -0400

From: <asterisk@sc-asterisk.goh-inc.com> Message-ID: <201007311954.o6VJsQHS021219@sc-asterisk.goh-inc.com> To: <flf-at-goh-inc-dot-com> Subject: Voicemail forwarded from mailbox 2327 Date: Sat, 31 Jul 2010 15:54:27 -0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=

"==VMAIL_MSG_Multipart_Boundary_x35b1a2ba425543cfa45b3cba16a2ab1ex"

Return-Path: asterisk@sc-asterisk.goh-inc.com

07/31/10 14:58:42 changed by ffenton

  • attachment ATT00001.txt added.

Here is the voicemail attachment

07/31/10 19:19:10 changed by drmessano

  • status changed from new to closed.
  • resolution set to invalid.

This can be caused by a having a virus scanner integrated with your MTA and/or Exchange Server handling of attachments. Google "ATT00001.txt" for more information.

Regardless of where the users settings are configured, the same settings are modified. Asterisk is the one sending the messages, and there's nothing behaviorally in Asterisk to send the attachments in this way.

07/31/10 22:05:39 changed by ffenton

The problem happens sending to the local mailbox root@localhost as well. That email never leaves the Asterisk server. There is no virus scanning implemented on my MTA either.

07/31/10 22:06:35 changed by ffenton

Email delivered by the voicemail application arrives intact. It's only email sent from ARI.

07/31/10 22:58:52 changed by ffenton

Check the last page of this link: http://pbxinaflash.com/forum/showthread.php?t=2390&highlight=email+garbage

Here is another user having the same issue I am.

08/01/10 11:10:49 changed by ffenton

Sorry, I didn't intend to offend. Thanks for looking into it.

By the way, I did start with the forums and was asked to open a ticket.

http://www.freepbx.org/forum/freepbx/installation/voicemail-attachment-sent-from-freepbx-user-portal-being-sent-as-txt-file

12/16/10 03:44:53 changed by mbrevda

  • status changed from closed to reopened.
  • resolution deleted.

A posible fix has been determined and will published shortly

12/24/10 04:03:00 changed by mbrevda

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [10725]) closes #4482 - Issues when forwarding multiple voicemails to email from the ari. Thanks ffenton for the origional report and michelpy for soponsoring the fix

12/29/10 17:20:44 changed by p_lindheimer

(In [10762]) Merged revisions 10725 via svnmerge from http://www.freepbx.org/v2/svn/freepbx/branches/bootstrap

........

r10725 | mbrevda | 2010-12-24 02:03:00 -0800 (Fri, 24 Dec 2010) | 1 line

closes #4482 - Issues when forwarding multiple voicemails to email from the ari. Thanks ffenton for the origional report and michelpy for soponsoring the fix

........

12/29/10 17:22:27 changed by p_lindheimer

  • status changed from closed to reopened.
  • confirmation changed from Unreviewed to Need testing.
  • resolution deleted.

I'm reopening this ticket to request that someone confirm this fix works on 2.8 and does not break anything. If that is the case we can back-port it to 2.8 (and if required, maybe 2.7). I don't want to do that without getting feedback since the fix up to this point has only been implemented in a development branch off of trunk with no indication of testing.

02/25/11 22:01:32 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [11602]) closes #4482 merged from r10762 2.9 branch