My Android Advanced Tour------> four Call transfer scenarios

Source: Internet
Author: User

The operator provides us with the following 4 call transfer scenarios:


1. Always call transfer: No matter what state the current phone is in, the incoming call will be transferred to the specified phone number. You should be very careful when using this call transfer, and if this call transfer is enabled, you will never be able to answer the phone, and your phone will not react.

2. When the line is busy Call Forwarding: This method of call transfer is useful. For example, if a salesperson has a long business, and there is another landline around, you can set the call transfer number to a landline number. This way, when you pick up your phone or make a phone call on your phone, you'll be transferred directly to your landline, so you don't miss out on important calls. The call transfer method also makes call transfer when rejecting, so the call transfer can be used to implement the call interception function. That is, when the call, with the program quickly hang up the phone, which is based on the set of transfer phone number is different, the other side will hear "phone is down", "phone is Off", "number is empty" and "in the call" 4 kinds of voice replies.

3, no answer when the call transfer: If for some reason did not answer the phone call, know that a certain time after the signal is interrupted to transfer.

4. Call Transfer when unable to connect: Call Transfer when the signal is not on the server, no signal or shutdown.


Each of the 4 call transfer methods has its corresponding special number. Not only that, you can also cancel call forwarding with a special number and query whether a call transfer is enabled. the above 4 call transfer modes correspond to the special number as follows:

function Set Cancel Enquiry
Always make call forwarding
**21* Phone #
# #21 # * #21 #
when busy Make Call forwarding
**67* Phone #
# #67 #
* #67 #
Call Transfer when no answer
**61* Phone #
# #61 #
* #61 #
Call Transfer when unable to connect
**62* Phone #
# #62 #
* #62 #



Set the code for the call transfer number when the line is busy:

Intent callintent=new Intent (Intent.action_call,uri.parse (Uri.encode ("tel:**67*12345678910#")); StartActivity ( Callintent);

The code for the call transfer number to cancel the busy line is as follows:

Intent callintent=new Intent (Intent.action_call,uri.parse (Uri.encode ("tel:# #67 #")); StartActivity (callintent);


The code for the call transfer number when the query is busy is as follows:

Intent callintent=new Intent (Intent.action_call,uri.parse (Uri.encode ("tel:* #67 #")); StartActivity (callintent);

==================================================================================================

Ouyangpeng welcome reprint, sharing with people is the source of progress!

Reprint please keep the original address : Http://blog.csdn.net/ouyang_peng

==================================================================================================

  

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

My Android Advanced Tour------> four Call transfer scenarios

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.