How to display an HTML popup window when my phone rings with Ozeki Phone System XE JavaScript API

Below you can find an excellent way on how to follow your calls easily using JavaScript API. By displaying an HTTP popup window, it is quite simple to receive notifications about the calls made through your own website.

For this purpose, you only have to execute the following steps:

  • Step 1: Generate Security Token for the authentication
  • Step 2: Connect to Ozeki Phone System XE through JavaScript API
  • Step 3: Subscribe for the sessionCreated and sessionStateChanged event
  • Step 4: When the sessionStateChanged event is triggered, show a Popup with the details of the call

After these steps, you will receive a notification in the form of Popup on your own site every time when a call is created in the system. Of course, there are more possibilities in JavaScript API, but this article gives information about about the call created and call state changed events. 

Last edited Oct 22, 2013 at 1:30 PM by simonrobert, version 2