172
edits
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
} | } | ||
interface TelephonySession : EventTarget { | interface TelephonySession : EventTarget { | ||
readonly attribute DOMString originNumber; | |||
readonly attribute DOMString number; | |||
// Do the call | // Do the call | ||
void call(); | void call(); | ||
attribute boolean muted; | attribute boolean muted; | ||
attribute boolean speakerOn; | attribute boolean speakerOn; | ||
void startTone(DOMString tone); | void startTone(DOMString tone); | ||
void stopTone(); | void stopTone(); | ||
Line 24: | Line 24: | ||
[optional] unsigned long toneDuration, | [optional] unsigned long toneDuration, | ||
[optional] unsigned long intervalDuration); | [optional] unsigned long intervalDuration); | ||
readonly attribute DOMString readyState; // "calling", "incomming", "connected", "closed", "busy" | readonly attribute DOMString readyState; // "calling", "incomming", "connected", "closed", "busy" |
edits