Commit bede5fb2 authored by Muhammadali's avatar Muhammadali

update-

parent 58321625
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.6.8", "version": "4.6.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -65,14 +65,14 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -65,14 +65,14 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
'innerCallerModal', 'innerCallerModal',
); );
if (boxDialer.isUaRunning) { if (boxDialer.isUaRunning()) {
console.log('UA is running! in other tab'); console.log('UA is running! in other tab');
} else { } else {
boxDialer.sipRegister(wsphonedata); boxDialer.sipRegister(wsphonedata);
} }
setTimeout(function waitUaRegisterLost() { setTimeout(function waitUaRegisterLost() {
if (boxDialer.isUaRunning) { if (boxDialer.isUaRunning()) {
setTimeout(waitUaRegisterLost, 10); setTimeout(waitUaRegisterLost, 10);
} else { } else {
boxDialer.sipRegister(wsphonedata); boxDialer.sipRegister(wsphonedata);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment