Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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 .....

like image 384
Bella-Coding Avatar asked Oct 10 '10 15:10

Bella-Coding


People also ask

What is auto answer in call settings?

Auto-answer is a feature that enables fax machines and modems to give priority to an incoming call. Voice calls are transferred to voice mail or answering machine, so that fax machines and fax modems can automatically answer and receive faxed documents.


1 Answers

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....

like image 175
Nirav Avatar answered Oct 06 '22 18:10

Nirav