Accept call then play a pre-recorded voice message to caller I receive quite a few non-work calls during my working day that often I am unable to take. I am not a big fan of voicemail, and I would much prefer if the caller would send me an SMS message or an email instead. I would therefore like to do the following on my Android phone:


disable my carrier's voicemail
record a voice message to a sound file
when my phone rings have an app automatically accept the call after X rings (or seconds), then;
play back the sound file to the caller, then;
hang up


Is there a way to achieve this? Perhaps an app?
This is not currently possible. There is no API for that. The MediaPlayer API docs say:


  Note: You can play back the audio data only to the standard output device. Currently, that is the mobile device speaker or a Bluetooth headset. You cannot play sound files in the conversation audio during a call.