Commit 3b12a047 authored by Muhammadali's avatar Muhammadali

update-

parent bf4c5e45
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.6.6", "version": "4.6.7",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -71,16 +71,13 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -71,16 +71,13 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
boxDialer.sipRegister(wsphonedata); boxDialer.sipRegister(wsphonedata);
} }
setTimeout( setTimeout(function waitUaRegisterLost() {
(waitUaRegisterLost = () => {
if (boxDialer.isUaRunning) { if (boxDialer.isUaRunning) {
setTimeout(waitUaRegisterLost, 10); setTimeout(waitUaRegisterLost, 10);
} else { } else {
boxDialer.sipRegister(wsphonedata); boxDialer.sipRegister(wsphonedata);
} }
}), }, 10);
10,
);
} }
}, []); }, []);
......
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