« Back to APIs

RE: Retrieving presence of other users or contacts

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
We are trying to prototype receiving user presence from WebEx Connect (BTS environment). The developer successfully connected to the service and is able to get presence status for the logged-in user. However, the documentation was not clear on how to retrieve presence for other users (contacts) through the Jabberwerx API. It seems that names of the other contacts need to be added to a roster for the test user followed by a subscription to get presence.
 
Can you please help with code snippets or the API functions that can be used for retrieving presence of others / contacts?
 
Thank you

In the CAXL sdk download (http://developer.cisco.com/web/jabber-developer/get-started), there is a doc/examples folder that contains many example pages that use the CAXL libraries.

I believe that the subscriptionsdemo.html file contains the example code that will help with adding contacts to a roster. The sampleclient.html file also contains some example code related to this topic ¿ although it uses the CAXL UI library also.