Skip to Content

Trick your iPhone voicemail into using voice recording data

The other day, I discussed how to record audio on your iPhone. Several people wrote in asking whether they could have their recordings show up in voicemail, so I scouted around a bit. I discovered that voicemail is stored in ~/Library/Voicemail and that it uses an sqlite3-compatible database to manage that information.

Last night, I put together a shell script that allows you to trick the iPhone into thinking that amr files added to the voicemail folder are actual voicemails. To make this happen, I ported sqlite3 to the iPhone (You can download a copy here). I also wrote a csh script, which you can download here and a time utility, here. The reason I wrote the script in csh rather than bash (both of which appear in the standard binary distribution kit) is just that I'm more familiar with csh.

To run the script, supply it with the amr file as its one argument, e.g. copy2vmail foo.amr. The script copies the amr file to the voicemail folder and updates the voicemail database as if the voicemail were received at the current time.

To force voicemail to update and re-read the database, enter the phone application and quit it by holding down the home button for 4-8 seconds. Re-enter the phone application and, with luck, you will see the recording as new voice message from "VoiceRecorder".

Thanks, Spaced.



Categories

Hacks How-tos iPhone

The other day, I discussed how to record audio on your iPhone. Several people wrote in asking whether they could have their recordings show...
 

Add a Comment

*0 / 3000 Character Maximum

9 Comments

Filter by:
Isaac

Hi Erica,
A feasability question for you: is there access to the music storage folder on a hacked iPhone? If so, what are the technical barriers to creating a iPhone to iPhone or iPhone to pc music/file sharing app? Can you copy music files into a hacked iPhone without itunes? Welcome to the iPhone social?
thanks,
Isaac

August 16 2007 at 10:35 AM Report abuse rate up rate down Reply
Gabe

Hey Erica, I have a question that is slightly off topic, but would like to discuss further with you.

I am interested in creating a GUI iPhone web app builder so I can help people create websites like http://app.getleaflets.com/ with an iWeb interface, etc.

Let me know if you are interested in this idea, or if you know anyone who is.

Also, thanks for responding to my previous question on this post, it was nice to hear from you and get some feedback.

Thanks again!

Gabe

August 11 2007 at 5:33 PM Report abuse rate up rate down Reply
Kevin

Here is the link for HOWTO: Pulling off Your Voicemails Onto Your Computer

http://www.modmyiphone.com/wiki/index.php/Saving_iPhone_ringtones_to_your_computer

August 10 2007 at 1:39 PM Report abuse rate up rate down Reply
tate

I would like to save some of my voicemails on to my computer. Please help me do it someone.

August 09 2007 at 4:16 PM Report abuse rate up rate down Reply
GadgetGav

You do know you can do this without hacking your phone, right..?

http://www.macosxhints.com/article.php?story=20070803221625100

August 09 2007 at 11:46 AM Report abuse rate up rate down Reply
ad7am

Or, you could simply call your own phone number and leave yourself a message. Why bother with the hack?

August 09 2007 at 9:56 AM Report abuse rate up rate down Reply
WickDC

Love it! How about having that as another option in the recorder GUI instad of just Save....so [Save] or [Save+Add to VM]

And with sqlite3 ported, I can see some simple GUI DB apps coming....all your logins/passwords in your new digital little black (and silver) book? Of course with some encryption. I wish I were a better coder!

August 09 2007 at 9:53 AM Report abuse rate up rate down Reply
Brian

So, has anyone noticed that their voicemail goes away after a time? Over the last few days, I have lost several voicemails that I was wanting to keep. Is there a way to get the voicemail files off the phone? Could the ones I lost still be in a backup on my mac?

August 09 2007 at 9:40 AM Report abuse rate up rate down Reply
SpacedCowboy

For those looking for an ObjC version of this, you can find it (minus the file-copy and restart-the-phone-app parts) at http://www.gornall.net/files/vmail.tar.bz2. Mainly it was a test of my SQL datababase manager code, but perhaps it'll come in useful for someone

SC.

August 09 2007 at 1:46 AM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.