cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
676
Views
0
Helpful
4
Replies

SystemInfo API using different XMPP Domains

eschippe
Cisco Employee
Cisco Employee

The SystemInfo API provides different XMPP Domains when requesting the primary and the secondary node (but the primary and secondary are always in the same order).

Is it a problem in our configuration? Should the XMPP domains be the same or should I select my remote server based on the provided XMPP domain ?

1 Accepted Solution

Accepted Solutions

Hi,

You only need to unsubscribe to subscriptions that were manual. You don't have to worry about the ones that were automatically done. You need to send the unsubscribe request for every manual subscription you made. Example:

<iq type='set'
   from='ChuckieNorrad@finesse-server.cisco.com'
   to='pubsub.finesse-server.cisco.com'
   id='unsub1'>

  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
  <unsubscribe
  node='/finesse/api/Team/TheA/Users'
  jid='userid@finesse-server.cisco.com'/>
  </pubsub>
</iq>

This was actually in the Subscription Management link you pasted, so I am not sure if I'm not answering your question correctly.

Thanx,

Denise

View solution in original post

4 Replies 4

dekwan
Cisco Employee
Cisco Employee

Hi,

The XMPP Domain will be different for the two nodes because it is typically the fqdn of the node. When you want to connect to the Finesse notification for node 1, you use that xmpp domain, if you want to use the Finesse notification for node 2, you use the xmpp domain of the secondary.

Thanx,

Denise

Thanks for the update Denise.

Can I ask another question please?

Q: Is there a way to ‘unsubscribe’ the feeds after a Finesse API Client crash?

What about the XMPP subscriptions that were done manually?

I could not find the answer here: Subscription Management<https://developer.cisco.com/docs/finesse/#subscription-management>

Thanks in advance,

Ernst

Hi,

You only need to unsubscribe to subscriptions that were manual. You don't have to worry about the ones that were automatically done. You need to send the unsubscribe request for every manual subscription you made. Example:

<iq type='set'
   from='ChuckieNorrad@finesse-server.cisco.com'
   to='pubsub.finesse-server.cisco.com'
   id='unsub1'>

  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
  <unsubscribe
  node='/finesse/api/Team/TheA/Users'
  jid='userid@finesse-server.cisco.com'/>
  </pubsub>
</iq>

This was actually in the Subscription Management link you pasted, so I am not sure if I'm not answering your question correctly.

Thanx,

Denise

Thanks for your response Denise. ☺

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: