Hi All,
we are creating a soft phone using finesse js lib. Once we logged into soft phone, when ever we close the browser, we are showing a dialog like "Leave site", for confirmation from user to close or not , for this we are using window.onbeforeunload () method . If I click cancel , the browser remains same, but in my softphone app I couldn't able to change states,here I found that BOSH connection was failed, app is able to sent requests to finesse, but finesse not able to send xmpp response.( we guess xmpp events are blocking by eventtunnel.js. causing this). Please see my browser logs.
closed: no error
EventTunnel.js:295 EventTunnel._connect(): cancel reconnect
EventTunnel.js:295 EventTunnel._connect(): called destroy.
Can anyone help me how to handle this in my js .