You can use the following JavaScript function to show call events in a custom tab:
OnTelephonyConversationStateChanged
An API in the telephony service enables the client to show call events in a custom embedded tab. Custom tabs can implement the OnTelephonyConversationStateChanged JavaScript function. The client calls this function every time a telephony conversation state changes. The function accepts a JSON string that the client parses to get call events.
Notification Methods
Cisco Jabber includes an interface that exposes the following methods for JavaScript notifications:
SetNotificationBadge
You call this method from the client in your JavaScript. This method takes a string value that can be one of the following:
Empty An empty value removes any existing notification badge.
A number from 0 to 999
Two digit alphanumeric combinations, for example, A1
onPageSelected
The client invokes this method when users select your custom embedded tab.
onPageDeselected
The client invokes this method when users select another tab.
Please see JavaScript Notifications for related information.
Comments
0 comments
Please sign in to leave a comment.