Changes

Jump to: navigation, search

WebAPI/WebTelephony

95 bytes removed, 18:30, 2 November 2011
Proposed API
interface Telephony : EventTarget {
TelephonySession connect(DOMString number)attribute boolean muted; // Should this make these live on the session the active onecall/group? attribute boolean speakerOn; attribute double speakerVolume;
attribute boolean muteany active; // Should these live on the session/Either a call or a group? attribute boolean speaker;
attribute any active; // Either a session or a group readonly attribute TelephonySessionTelephonyCall[] liveSessionsliveCalls; readonly attribute TelephonySessionGroupCallGroup[] liveGroups;
void startTone(DOMString tone);
}
[Constructor(DOMString)] interface TelephonySession TelephonyCall : EventTarget {
readonly attribute DOMString number;
attribute Function onbusy;
attribute TelephonySessionGroupCallGroup? group;
void answer(); // Should this make the session call the active one?
void hangUp();
}
[Constructor()]
interface TelephonySessionGroup CallGroup { TelephonySession TelephonyCall item(unsigned long index);
readonly attribute unsigned long length;
}
interface IncommingCallEvent CallEvent : Event { readonly attribute TelephonySession sessionTelephonyCall call;
}
Confirm
716
edits

Navigation menu