=== Proposal: Enhance WebTelephony API to hold a call ===
interface nsIDOMTelephony : nsIDOMEventTarget
{
nsIDOMTelephonyCall dial(in DOMString number);
attribute nsIDOMEventListener onincoming;
//attribute nsIDOMEventListener oncallschanged; /* new events */ attribute nsIDOMEventListener onoutgoing; attribute nsIDOMEventListener onconnected; attribute nsIDOMEventlistener ondisconnected;
};
interface nsIDOMTelephonyCall : nsIDOMEventTarget
{
readonly attribute DOMString number;
attribute nsIDOMEventListener onstatechange;
attribute //attribute nsIDOMEventListener ondialing;
attribute nsIDOMEventListener onalerting;
attribute nsIDOMEventListener onbusy;