Play .wav files in iPhone e-mail attachments?

Discussion in 'iPhone Tips, Help and Troubleshooting' started by sanford, Sep 6, 2007.

  1. sanford macrumors 65816

    Jan 5, 2003
    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.
  2. alanisrox69 macrumors regular

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

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

  3. sanford thread starter macrumors 65816

    Jan 5, 2003
    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...
  4. sanford thread starter macrumors 65816

    Jan 5, 2003
    Dallas, USA
    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.
  5. justben1369 macrumors newbie

    Nov 9, 2007
  6. jamesarm97 macrumors 65816

    Sep 29, 2006
    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!)
    LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

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

    # Accept all the rest to your default mailbox


    Here is the /usr/local/bin/ script:


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

    # 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"

    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
  7. rrr macrumors member

    Jan 17, 2004
    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.

  8. AGold macrumors newbie

    Jan 2, 2008
    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 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.
  9. gdevitry macrumors member

    Dec 26, 2003
    *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.


  10. AGold macrumors newbie

    Jan 2, 2008
    Awesome! Thanks gdevitry! Nice work!

  11. psuskeels macrumors newbie

    Feb 3, 2008
    I created an iphone app - the app allows u to toggle the simulring (and update the #), as well as LISTEN to your voicemail details!

    Take a look at


  12. shivasknn macrumors newbie

    Jan 31, 2010
    Very useful - thanks

  13. rinnycoop121 macrumors newbie

    Oct 30, 2010
    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

    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
  14. rinnycoop121 macrumors newbie

    Oct 30, 2010

Share This Page