Changes

Jump to: navigation, search

Talk:WebAPI/WebTelephony

352 bytes added, 12:03, 7 September 2011
no edit summary
interface Telephony : EventTarget {
TelephonySession newSession(DOMString number); // Multiple number call??
 
readonly attribute TelephonySession liveSession;
attribute Function onincoming;
}
interface TelephonySession : EventTarget {
 
// Do the call
void call();
 
attribute boolean muted;
attribute boolean speakerOn;
void startTone(DOMString tone);
void stopTone();
void sendTones(DOMString tones,
[optional] unsigned long toneDuration,
[optional] unsigned long intervalDuration);
 
readonly attribute DOMString originNumber;
readonly attribute DOMString number;
void start();
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"?
172
edits

Navigation menu