Hack iPhone to show recorded audio in voicemail

I had reported only yesterday of how Erica Sadun at Tuaw, a iPhone hacking genius had delivered on a promise made by Steve Jobs of a voice recorder in the iPhone by releasing her own version of the iPhone voice recording utility. As you would expect she got a very good response to her iPhone hack with some of them asking her whether they could have their recorded audio show up in voicemail.
She has just posted an article on how this can be done.
If you haven't read the article on the voice recording utility (see iPhoneHacks.com, 09/08/2007, Steve Jobs promises iPhone voice recorder, hacker delivers) do give it a read. The audio recorded using the iPhone hack gets stored in adaptive multi-rate format (.amr) files.
This is where the next hack comes in, it is a shell script that allows you to trick the iPhone into thinking that the amr files that were recorded using the iPhone voice recorder utility added to the voicemail folder are actual voicemails.
Before we go further let me warn you that unfortunately like the previous iPhone hack this one too isn't really for the not so technically inclined.
To make this work you need to do the following (as always don't forget to read the disclaimer):
1. Port sqlite3 to the iPhone, download link here.
2. Copy a csh script, which can be downloaded here.
3. Copy a Time utility, download link here.
Once you have followed the above steps, run the script by passing the amr file as an argument e.g. myvoice.amr, The script copies the amr file to the voicemail folder and updates the voicemail database to make it think that the voicemail was received at the present time thus forcing the voicemail software to re-read the database so that it adds this new file as a new voice message.
You then need to enter the phone application and quit it by holding down the home button for 4-8 seconds. If you re-enter the phone application again you should see the recording as new new voice message from "VoiceRecorder".
Folks, do let me know if this works for you.
(Rate this post):


