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

XMPP Re-connect in CAXL

Badar Ali
Level 1
Level 1

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