This article is in need of a technical review.
This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.
Represents one telephone call, providing information about the call and offering mechanisms for controlling it and detecting changes to its status.
- A string indicating the phone number corresponding to the call.
- A string indicating the status of the call.
- A function to be called when the call alerts. What does this mean?
- A function to be called when a busy signal is received when attempting to dial out.
- A function to be called once the call is connected.
- A function to be called after dialing, while awaiting a connection.
A function to be called when the call begins dialing the
- A function to be called after the call has finished disconnecting.
- A function to be called when the call begins to disconnect.
- A function to call when an incoming call is detected.
A function to be called when the
stateof the call changes.
- Answers an incoming call.
- Hangs up the call.
- Allows to put a call on hold.
- Allows to get back a call putted on hold.
TelephonyCall also inherit methods from
Register an event handler of a specific event type on the
Removes an event listener from the
Dispatch an event to this
This is a non standard implementation, but it is discussing at W3C as part of the System Application Working Group.
|Web Telephony API||Editor's Draft||Editor Draft (WIP).|
For obvious reasons, support is primarily expected on mobile browsers.
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||Not supported||Not supported||Not supported||Not supported||Not supported|
|Feature||Android||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||Not supported||12.0 (12.0)||Not supported||Not supported||Not supported|