Commit 3d63e726 authored by Muhammadali's avatar Muhammadali

0.6.1

parent 8e9cb4f5
{
"name": "boxdialer",
"version": "0.6.0",
"version": "0.6.1",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -226,7 +226,7 @@ export class BoxDialer {
setGuiPhoneState({ stateCode, funcName, funcParam }) {
if (window?.alovoice_wsphone) {
let uiState = '';
let uiState = false;
switch (stateCode) {
case 'i_new_call':
......@@ -239,6 +239,7 @@ export class BoxDialer {
break;
}
if (uiState) {
this.callBxMethods({
bxMethodName: 'CallCardSetUiState',
bxFuncParams: { uiState },
......@@ -246,6 +247,7 @@ export class BoxDialer {
console.log(e, `CallCardSetUiState method done ${e}`);
},
});
}
} else if (funcName && this.onSipStateChange[funcName] !== 'undefined') {
this.onSipStateChange[funcName](funcParam);
}
......
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