Create integration points to allow Caller ID & Block apps

RESOLVED INCOMPLETE

Status

Firefox OS
Gaia::Dialer
RESOLVED INCOMPLETE
3 years ago
a year ago

People

(Reporter: Harald, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
TrueCaller, Whitepages and others are interested in launching their services on Firefox OS, which mainly include:

- Caller ID: Identify calls from numbers that are not in your address book.
- Call Blocking: Block spam, scams and telemarketers.

Android (via PhoneStateListener et al) and Tizen (via ITelephonyCallEventListener et al) both provide events and APIs to support Caller ID apps that can be used as reference.
(Reporter)

Comment 1

3 years ago
+Vishy for more product input.
Flags: needinfo?(vkrishnamoorthy)
(Reporter)

Comment 2

3 years ago
+Andrew to find somebody from the WebAPI team to provide input.

+Paul for the security aspect (is it too early?).
Flags: needinfo?(ptheriault)
Flags: needinfo?(overholt)
Hsin-Yi would know more about event/API additions here.
Flags: needinfo?(overholt) → needinfo?(htsai)
Probably too early. My only comment is that currently all telephony related APIs are certified only. I think we will move most/all APIs to privileged however, and enforce restrictions in marketplace instead of within gecko. This gives us the ability to give partner apps with increased permissions that we dont want to give out to apps in general. (the main reason is to avoid the prior situation for apps like loop where we need to create app specific permissions).

Of course it all depends on exactly what you plan to expose.

TLDR: we probably dont want this exposed broadly by can perhaps grant it by exception to partners apps. Thats about all I have to add for now. I've CC'd Stephanie who provide a more detailed review once we get closer to defining an API.
Flags: needinfo?(ptheriault)
Sorry for being late here. We've provided call id information via TelephonyCall.webidl and TelephonyCallId.webidl. One thing to note that, as Paul mentioned, these APIs are certified-app only now.
Flags: needinfo?(htsai)

Comment 6

2 years ago
In addition to use cases such as call block, there are other interesting use cases for intercepting call status and performing actions on the status.

Also, in addition to CallID, we will also need a way to get the call_state and set listeners for the various call states.

I can see both the upside and flexibility such an API would provide as well as the downside in terms of security risks.

Is the WebTelephony API http://www.w3.org/TR/2013/WD-telephony-20130620/ currently being worked on?
Flags: needinfo?(vkrishnamoorthy)
(Reporter)

Comment 7

2 years ago
Maybe :hsinyi can answer on the work on WebTelephony API
Flags: needinfo?(htsai)
(Reporter)

Comment 8

2 years ago
This should probably be covered as use case for addons as it is a prime example of partners extending a built in app.
Flags: needinfo?(htsai) → needinfo?(vkrishnamoorthy)
(Reporter)

Updated

a year ago
Status: NEW → RESOLVED
Last Resolved: a year ago
Flags: needinfo?(vkrishnamoorthy)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.