WebAPI/WebTelephony/Multi-SIM: Difference between revisions

Jump to navigation Jump to search
added multisim scenario
(added multisim scenario)
Line 1: Line 1:
== Proposal: WebTelephony API for Multi-SIM  ==
== Proposal: WebTelephony API for Multi-SIM  ==


Currently B2G supports a single SIM architecture. This proposal wants to extend it for supporting multi-SIMs. Here, we introduce a central 'nsIDOMTelephonyManager' to manage several DOMTelephony objects. One DOMTelephony object is binded to a physical SIM slot.
Currently B2G supports a single SIM architecture. This proposal wants to extend it for supporting multi-SIMs.  


nsIDOMTelephonyManager controls the call policies, such as when an outgoing call can be placed or which incoming call is to be answered. Besides, by this WebTelephony API, user can choose which SIM card he wants to make a call through, or user can choose which incoming call he wants to accept if there are more than one. User can also easily get all the calls from all the SIMs as well as all the calls within a specific SIM.
In the multisim scenario, the phone, the whole device, is using all sims that are all on standby. And all these sims could use individual technology, like gsm, cdma, etc. Each app should be able to allow user to choose a sim as the user currently wants. Also, among different APIs such as mobile connections and telephony, technically user can set a default sim for 3G data connection and another default sim for telephony voice calls.
 
Taking telephony as example, user should be able to choose via which sim he wants to make a call. User can choose to use a specific sim or simply use the default one. For example, he can call friend A by sim no. 1 and to call friend B by sim no. 2. He is definitely able to receive calls from any sim.  At the same time, he could even to set up a data connection by sim no. X.
 
However, in multisim scenario, hardware implementation varies. Some devices may have one antenna while others have dual. Some devices may have one modem but others have multiple. If the device has one antenna only, then even in multisim scenario, use is uncapable of placing calls with both sim cards at the same time. If the hardware supports multi-antenna as well, then placing calls with both sim cards at the same time works.
 
Here, we introduce a central 'nsIDOMTelephonyManager' to manage several DOMTelephony objects. One DOMTelephony object is binded to a physical SIM slot. nsIDOMTelephonyManager controls the call policies, such as when an outgoing call can be placed or which incoming call is to be answered. Besides, by this WebTelephony API, user can choose which SIM card he wants to make a call through, or user can choose which incoming call he wants to accept if there are more than one. User can also easily get all the calls from all the SIMs as well as all the calls within a specific SIM.


=== Web API ===
=== Web API ===
Confirmed users
978

edits

Navigation menu