Play .wav files in iPhone e-mail attachments?

sanford

macrumors 65816
Original poster
Jan 5, 2003
1,265
0
Dallas, USA
My Vonage voicemail sends .wav files of new voice mails as e-mail attachments. I know you can view photos, PDFs, etc., as e-mail attachments, but is there any way to play back a .wav file sent as an e-mail attachment on my iPhone? I touch the file attachment and it does nothing.
 

alanisrox69

macrumors regular
Jul 10, 2007
110
0
Same here, the attachment is just greyed out (mp3 attachements for instance are 'blue').....

I guess it's not possible just yet...

-Derek-
 

sanford

macrumors 65816
Original poster
Jan 5, 2003
1,265
0
Dallas, USA
Same here, the attachment is just greyed out (mp3 attachements for instance are 'blue').....

I guess it's not possible just yet...

-Derek-
So MP3s will play? If so, it would certainly be possible to leave your computer on and write an Automator/AppleScript combo to transcode the .wav attachment as an mp3 and attach it to an e-mail and send it to yourself again. Time consuming for someone like me, but possible.

I wonder if it would be worth lobbying Vonage to support mp3 voice mails?

Of course Vonage's voicemail-to-text service would do it, but you have to pay an extra monthly charge for that.

But hang on a bit, let me try something...
 

sanford

macrumors 65816
Original poster
Jan 5, 2003
1,265
0
Dallas, USA
So MP3s will play? If so, it would certainly be possible to leave your computer on and write an Automator/AppleScript combo to transcode the .wav attachment as an mp3 and attach it to an e-mail and send it to yourself again. Time consuming for someone like me, but possible.

I wonder if it would be worth lobbying Vonage to support mp3 voice mails?

Of course Vonage's voicemail-to-text service would do it, but you have to pay an extra monthly charge for that.

But hang on a bit, let me try something...
I was trying for a workaround. Webmail. But apparently Safari won't play .wav files either. I'll let you know if I figure something out.
 

jamesarm97

macrumors 65816
Sep 29, 2006
1,061
65
I finally solved it. I run my own email server so I intercept the vonage voicemail files and convert the wav to a format the iphone can handle, then send the new email out to my iphone yahoo account (so I can get instant notification):

This is my .procmailrc file:

SHELL=/usr/bin/sh #Use the Bourne shell (check your path!)
MAILDIR=$HOME #
LOGFILE=$MAILDIR/procmail.log
DEFAULT=$HOME/Mailbox
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

:0 H c:
* ^Subject:.*You have received a new voicemail message
{
:0
| /usr/local/bin/vonage2iphone.sh
}

# Accept all the rest to your default mailbox
:0:
${DEFAULT}

------

Here is the /usr/local/bin/vonage2iphone.sh script:

#!/bin/bash

if ! TEMPDIR="`mktemp /tmp/sendwav.XXXXXX`"; then
echo "$0 is unable to create the temporary file."
exit 1
fi

# not perfect, but, we'll live
rm $TEMPDIR
mkdir $TEMPDIR

mkdir -p $TEMPDIR/source

#absorbs stdin
munpack -C $TEMPDIR/source

#convert to GSM
sox $TEMPDIR/source/*.[Ww][Aa][Vv] -r 8000 -c 1 -u $TEMPDIR/out.wav

cat $TEMPDIR/source/voice-message.desc | mutt -a $TEMPDIR/out.wav -s "Voicemail $SUBJECT" iphone.xxxx@yahoo.com

rm -fr $TEMPDIR

---------

I had to install / compile the munpack program that saves the attachment and email headers then run the wav attachment through sox to convert to iphone (8000 rate, 1 channel mono).

Don't know if that helps anyone, but I love being able to listen to my vonage voicemails and seeing who left them in an email attachment.

- James
 

rrr

macrumors member
Jan 17, 2004
55
0
Very clever, James.

What is it about the raw Vonage WAV file that the iPhone doesn't like?

I am wondering if we might expect native compatibility with this format in a future firmware version.

rrr
 

AGold

macrumors newbie
Jan 2, 2008
21
0
does it work with 1.1.3?

anyone know if 1.1.3 fixes the problem?

My workaround is that I forward the email (with attachment) to messages@iphoneconvert.com. Then they convert it and email a link back to me that I play in safari. I think I found this solution on the apple discussions.
 

gdevitry

macrumors member
Dec 26, 2003
56
0
*Disclosure: I run the iPhoneConvert website* :D

You can also have your account setup to forward the attachment back to you (converted to .mp4). Registration required but free.

Works for .avi files too.

Greg

anyone know if 1.1.3 fixes the problem?

My workaround is that I forward the email (with attachment) to messages@iphoneconvert.com. Then they convert it and email a link back to me that I play in safari. I think I found this solution on the apple discussions.
 

AGold

macrumors newbie
Jan 2, 2008
21
0
Awesome! Thanks gdevitry! Nice work!

*Disclosure: I run the iPhoneConvert website* :D

You can also have your account setup to forward the attachment back to you (converted to .mp4). Registration required but free.

Works for .avi files too.

Greg
 

rinnycoop121

macrumors newbie
Oct 30, 2010
5
0
Maybe someone can help me hear.

I am on an iPhone 4, i have Vonage home service.

And when ever someone leave me a voice-mail it gets emailed to my phone in a .wav format, and it plays fine.

But then i tried something and it only worked once.

I tried to send the voice-mail message to my self via SMS at

MyNumber@tmomail.net

well to my surprise, i did not have to check emails, it came directly to my phone in my text messaging, and i was able to play the audio file right from my text.

but for some reason it only worked once. now when it comes in i am unable to play the file.

I will give you a screen shot of what the file looks like in SMS.





As you can see in the above photo the file has a ? mark.

but the 1st tile it worked it had a Quicklime Logo on the file, and it would play just as if an MMS Video was sent. but only audio.

any idea how to get this working again.

let me know
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.