172
edits
Changes
no edit summary
interface Telephony : EventTarget {
TelephonySession newSession(DOMString number); // Multiple number call??
readonly attribute TelephonySession liveSession;
attribute Function onincoming;
}
readonly attribute DOMString originNumber;
readonly attribute DOMString number;
// Do the call
void call();
[optional] unsigned long toneDuration,
[optional] unsigned long intervalDuration);
readonly attribute DOMString readyState; // "calling", "incomming", "connected", "closed", "busy"
// Can we get info on when a call goes from "trying to place call" to "calling"?
attribute Function ondisconnect;
attribute Function onbusy;
void answer(); // Should this make the session the active one?
void hangUp();