Telephony features
A plugin ...
Key features:
New Call (using specified device or any)
Monitor Active Calls and receive New Calls notifications
Answer a call
Hangup a call
Decline a call
Hold
Resume
Stop record
Start record
Subscribe to call events
wtapi = new WTAPI("...");
wtapi.telephony.on("devices_changed", callback);
wtapi.telephony.on("call_added", callback);
wtapi.telephony.on("call_updated", callback);
wtapi.telephony.on("call_terminated", callback);
wtapi.connect();