Bella-Coding
Bella-Coding

Reputation: 111

How to automatically answer call and play prerecorded sound out to the caller and DTMF on Android

Could it be possible now, which we can develop an Android application having the following requirement for its working steps

  1. Automatic receive the call, then
  2. Play some sound out to the caller, wait for DTMF response, then
  3. Record the caller sound (in the case that they permit, by pressing 1 as DTMF response)
  4. Callee can play back the recoreded sound later.

Thank for all answers in advance .....

Upvotes: 8

Views: 7274

Answers (2)

user3333834
user3333834

Reputation: 26

the first point seems possible. check the state of call if it is ringing state the program can auto attend it for you..you can find more information in this link. http://www.devlper.com/2010/08/detecting-incoming-and-outgoing-calls-in-android/ http://prasanta-paul.blogspot.com/2010/09/call-control-in-android.html

Upvotes: 0

Nirav
Nirav

Reputation: 5760

Hey I am also making same application...for Automatic receive call you need to change Source Code of android. I have done it successfully with froyo 2.2. There is method answerCall(Phone phone) in PhoneUtils.java file with that you can automatic receive call.

I am also searching for DTMF....but till now i didn't get anything which can be helpful....for DTMF decoding....

Upvotes: 1

Related Questions