Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Call forwarding

I would like to forward all calls to my number on to the new predefined number automatically. Is it possible to forward incoming call ?

Probably it is possible for Froyo at least. I found application called Easy Call Forwarding. http://www.appstorehq.com/easycallforwarding-android-189596/app But many people reckon it doesn't work actually.

We can notice forwarded call by onCallForwardingIndicatorChanged() from PhoneStateListener but I have no idea how to set forwarding mode.

like image 998
Bogus Avatar asked Aug 12 '10 07:08

Bogus


People also ask

Does * 72 forward calls?

Call forwarding is often enabled by dialing *72 followed by the telephone number to which calls should be forwarded. Once someone answers, call forwarding is in effect. If no one answers or the line is busy, the dialing sequence must be repeated to effect call forwarding. Call forwarding is disabled by dialing *73.

What does it mean when a call is forwarding?

What Does Call Forwarding Mean? Call forwarding is a phone feature that enables users to forward or redirect incoming calls to any alternate number, which may be either a land line or cellular number. Users are also provided with options to divert incoming calls to voice mails.

How do I deactivate call forwarding?

To stop forwarding all calls, dial *73. To stop forwarding when there is no answer, dial *93. To stop forwarding when the line is busy, dial *91.


1 Answers

I explored on the net and got the answer to my question that how one can forward a call programmatically. Add these lines of code and one will be able to achieve it.

String callForwardString = "**21*1234567890#";    
Intent intentCallForward = new Intent(Intent.ACTION_DIAL); // ACTION_CALL                               
Uri uri2 = Uri.fromParts("tel", callForwardString, "#"); 
intentCallForward.setData(uri2);                                
startActivity(intentCallForward); 

Here 1234567890 represents the phone number. Add the approriate phone number as you wish here. One can dial ##21# to deactivate the service.

like image 75
ASH Avatar answered Sep 16 '22 12:09

ASH