iPhone Voicemail forwarder replacement: iFile

Discussion in 'Jailbreaks and iOS Hacks' started by dokindo, Jan 24, 2014.

  1. dokindo macrumors regular

    Joined:
    Feb 4, 2009
    #1
    I was waiting for Voicemail forwarder to be updated and just found out that I could do the same thing (forward a voicemail as an audio file attached to an email) using iFile.

    Apparently, all your voicemail is stored in a folder /var/mobile/Library/voicemail. Using iFile, you can easily listen to the file and forward it an email.

    Surprised it was so easy!
     
  2. mrmister macrumors regular

    Joined:
    Dec 19, 2008
    #2
    I would still rather have someone update Voicemail Forwarder, but that is a great workaround. Thanks!
     
  3. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #3
    Me too.
    A simple hack with a button that emails it quick would be great.
     
  4. mrmister macrumors regular

    Joined:
    Dec 19, 2008
  5. tateu macrumors 6502

    Joined:
    Jan 27, 2012
    #5
    I doubt that I will ever get it working well enough to release but I put together a bare bones tweak/app that monitors the /var/mobile/Library/Voicemail folder for new .amr (visual voicemail audio) files. When a new voicemail comes in, it pops up an email prompt with the file attached.

    In order for me to even think about releasing it, I have to:
    1) Make it a background daemon that runs on boot. (I think I can figure this out)
    2a) Send email in the background without user interaction. (I don't know if this is even possible)
    2b) If email can be sent in the background, will it work while the phone is locked?
    3) Settings panel to enable/disable it, set email to address, email subject, etc. (I think I can figure this out)
    4a) Setting to send only when connected to WiFi. (I think this can be done, but I have no clue how to do it)
    4b) Keep a queue of new voicemails that have not been sent via email, either because the phone has no service or because the WiFi only option is enabled and the phone has not yet connected to WiFi. (This should be possible, but I have no clue how to do it)
    5) Read caller info (name, number, timestamp, etc.) and attach it to the email (I'm sure it can be done, but I have no idea how)

    As I said, I doubt I will ever complete this but it'll be something I'll play with for several days atleast. If I get something usable, I'll definitely post more info about it here but don't get your hopes up.
     
  6. mrmister macrumors regular

    Joined:
    Dec 19, 2008
    #6
    Or just make a button on the voicemail page, so that if I need the file I can email it.

    That's all I need.
     
  7. alexstjo macrumors member

    Joined:
    Sep 11, 2009
    #7
    what app is ifile? i can not seem to find it

    thanks
     
  8. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #8
    It's an app you install from cydia
     
  9. tateu macrumors 6502

    Joined:
    Jan 27, 2012
    #9
    It's nothing fancy but it kinda, sorta, maybe gets the job done. With this installed, if you long press on the info button of a voicemail, it will pop up an email window for that voicemail.

    I've attached the source code and deb file here in case anyone wants to give it a try. It's compiled for arm64 and hopefully older devices too, but it has only been tested on an iPhone 5s, iOS 7.0.4. It requires iOS 7.x, mobilesubstrate and preferenceloader.

    If you decide to give this a try: after installing from the deb file, you should force close the phone app through the app switcher and then reopen it to initialize some of the default values.

    You can set default options for Email To, Email Subject, Email Body, File Name Format and Date Format in the Settings app.

    The default settings for the above are:
    Email Subject = New Voicemail from %Name on %Date
    Email Body = %Name %Number\n%Location\n%Date\n%Dur seconds\n%Path\n%File
    File Name Format = %Name_%Number
    Date Format = yyyy/MM/dd hh:mm:ssa z

    %Name gets replaced with the name of the caller from your address book, if it exists, otherwise it is the phone number
    %Number gets replaced with the phone number of the caller
    %Location gets replaced with the default location lookup that iOS does on a phone number
    %Date gets replaced by the date the voicemail was received based on the format you chose in "Date Format"
    %Dur gets replaced by the duration of the audio file, as reported by iOS
    %Path gets replaced by the location of the voicemail file in the iOS file system
    %File will attach the audio file to the email based on the format you chose in "File Name Format"
    \n gets replaced with a newline character

    Some things I'd like to do, in no particular order:
    1) Clean up the settings page so there is not so much blank space between options
    2) If you close the phone app while the email window is open, when you come back to the phone app, the email window is gone and you are left on a blank Vemail page with a back button to take you back to the main voicemail list. I'd like to get rid of the blank page or, if possible, keep the email window from closing
    3) Select more than one voicemail at a time and send them as a batch
    4) Add a filewatcher to continuously monitor for new voicemails in the background and automatically send them as email without user interaction.
    5) If it ever gets cleaned up and working well enough, submit it to an official repo
     

    Attached Files:

  10. jprall macrumors newbie

    Joined:
    Sep 29, 2014
    #10
    Could you wrap it up and put it up on a repo? Perfect for what I need. You mail is ok but doesn't work on existing voicemails
     
  11. tattoohead macrumors newbie

    Joined:
    Feb 21, 2015
    Location:
    MidWest, USA
    #11
    Progress?

    I know it's an old thread, but .....

    Was wondering if any progress had been made on this tweak. I'm actually using it on my iPhone 6+ iOS 8.1.2.
     
  12. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.

Share This Page