Mountain View
Jabber SDK API Documentation

Tutorial: Retrieving Telephony Device List

Retrieving Telephony Device List

Title Telephony device list reflects list of devices on CUCM associated with currently logged in user. Before Telephony Device connected to CUCM, telephony device list needs to be retrieved. First following event handlers must be set: Once the event has been fired in order to retrieve telephony device lust TelephonyController's property needs to be read:

         function onTelephonyDeviceListChanged()
         {
            var telephonyDevices = cwic.TelephonyController.telephonyDevices;

            // ...
            // Use retrieved telephony device list....
            // ...
         }

         cwic.TelephonyController.addEventHandler('onTelephonyDeviceListChanged', onTelephonyDeviceListChanged);
     
This event is fired in following scenarios:
  • Telephony device has been added to the list (This will usually happen right after we sign in).
  • Telephony device has been added to the list (This will usually happen right after we sign out).
  • Property of device in the list has changed.
  • We refresh telephony device list through TelephonyController.refreshTelephonyDeviceList()
In the following tutorials it will be covered how to connect different types of telephony devices to CUCM.

Next

Previous