cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2012
Views
0
Helpful
1
Replies

Get SubscribePresence status in Jabber Javascript API

glagidse1
Level 1
Level 1

Hello,

If I make a HTML tab in jabber, and I call "SubscribePresence" as described here: http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/11_6/cjab_b_feature-configuration-for-cisco-jabber/cjab_b_feature-configuration-for-cisco-jabber_chapter_01.html

This works, I can subscribe to the status of users and I get events in OnPresenceStateChanged. But I have no knowledge if I'm subscribed to something; If I subscribe and I refresh the page, I'll have to subscribe again because I don't know that I've already subscribed and I'll start receiving presence changes multiple times.

What I'm looking for is functions like UnsubscribePresence(), and GetSubscribedPresences(), but I can't find any kind of mention of this on the internet or in manuals. SubscribePresence isn't very useful without these functions,  Am I doing something wrong?

1 Reply 1

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Giorgi,

  Came across this url- Request to check this url - https://communities.cisco.com/docs/DOC-67113 Please check on the developer guide related to CAXL..-https://developer.cisco.com/site/jabber-websdk/develop-and-test/im-and-presence/overview/

Thanks and Regards,

Geevarghese

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: