Changes

Jump to: navigation, search

WebAPI/WebTelephony

389 bytes removed, 23:23, 10 January 2012
Proposed API
attribute boolean muted; // Should these live on the call/group?
attribute boolean speakerOn;
attribute double speakerVolume;
attribute boolean doNotDisturb; // Automatically drops calls. Not sure if needed. Only seems needed
// if supported as a network feature.
attribute any active; // Either a Active call or , for now. Could be a groupin the future.
readonly attribute TelephonyCall[] liveCalls; readonly attribute CallGroup[] liveGroupscalls;
void startTone(DOMString tone);
readonly attribute DOMString number;
readonly attribute DOMString readyStatestate;
// "dialing", "ringing", "busy", "connecting", "connected", "disconnecting", "disconnected", "incoming"
attribute Function onreadystatechangeonstatechange;
attribute Function onringing;
attribute Function onbusy;
void answer(); // Should this make the call the active one?
void disconnect();
// void hold(); These need to be made async. Also not sure if they are needed with a proper async 3-way API
// void resume();
}
Confirm
137
edits

Navigation menu