cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
192
Views
5
Helpful
1
Replies

XMPP Re-connect in CAXL

Badar Ali
Beginner
Beginner

Hi, 

We are trying to implement failover manually for our CTI via cisco ajax xmpp library (CAXL/jabberwerx). When we detect that xmpp connection is disconnected we ping the other node, if found we connect to that node.

 

The issue is that despite being connected to the second node, the jabberwerx library keeps trying to connect to the previos node due to which the whole process starts repeating again. 

 

Is there any way to control these reconnect tries from jabberwerx?

Thanks.

1 Reply 1

dekwan
Cisco Employee
Cisco Employee

Hi,

 

I don't have direct experience trying to implement failover with Jabberwerx so unfortunately I do not have any tips. I will say that Strophe.js is the recommended JS library to connect to the Finesse notification service. Here is some sample code using strophe.js, but it doesn't include failover: https://github.com/CiscoDevNet/finesse-sample-code/tree/master/NonGadgetSampleWithStropheAndWebsocket

 

Thanx,

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:

Recognize Your Peers