Say you would like to be able to handle incoming calls, example: each time your phone is ringing, call a specific URL with the incoming phone number as parameter and display this web page directly on my computer screen.
There are a couple of ways you could approach this:
Jabber for Windows - this full Jabber client can be used to monitor/control a deskphone (or itself function as a softphone.) Jabber for Windows also has the ability to define 'custom tabs' for displaying additional web-based data. There are custom Javascript functions and events - e.g. 'OnTelephonyConversationStateChanged' - which can be used by the web page in a tab to learn about new calls, extract caller ID info, and potentially direct the page to a calculated URL - e.g. via 'window.location.href'
Jabber SDK Voice/Video plugin - If you will always have a browser open, you may be interested in this API, which requires installing a plugin into the browser and using the provided cwic.js library. Similar to Jabber for Windows, the Jabber SDK can monitor a deskphone or function as a stand-alone softphone. Either way, Javascript events (including info like caller ID) are available whereby the web page could be redirected to a desired URL
CTI (TAPI/JTAPI) - TAPI (Windows only C library) and JTAPI (Java library) provide PC applications with the ability to monitor/control phone, and receive events/caller ID. The PC application could then launch a browser to a particular URL. Note the CTI interfaces can monitor multiple phones, and are commonly used in a client-server architecture, where an application server uses TAPI or JTAPI to monitor all user devices, and provides events via some RPC mechanism to a client based app of some kind.
TAPI overview:
https://developer.cisco.com/site/tapi/discover/technical-overview/
JTAPI overview:
https://developer.cisco.com/site/jtapi/discover/technical-overview/
Comments
0 comments
Please sign in to leave a comment.