Commit bede5fb2 authored by Muhammadali's avatar Muhammadali

update-

parent 58321625
{
"name": "boxdialer",
"version": "4.6.8",
"version": "4.6.9",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -65,14 +65,14 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
'innerCallerModal',
);
if (boxDialer.isUaRunning) {
if (boxDialer.isUaRunning()) {
console.log('UA is running! in other tab');
} else {
boxDialer.sipRegister(wsphonedata);
}
setTimeout(function waitUaRegisterLost() {
if (boxDialer.isUaRunning) {
if (boxDialer.isUaRunning()) {
setTimeout(waitUaRegisterLost, 10);
} else {
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