Commit 64dd4818 authored by Muhammadali's avatar Muhammadali

update

parent 36b1aa4a
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.7.5", "version": "1.7.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -255,13 +255,13 @@ export class BoxDialer { ...@@ -255,13 +255,13 @@ export class BoxDialer {
} }
setGuiPhoneState({ stateCode, funcName, funcParam }) { setGuiPhoneState({ stateCode, funcName, funcParam }) {
if (window?.alovoice_wsphone && !!stateCode?.length) { if (window?.alovoice_wsphone && !!stateCode?.length) {
this.callBxMethods({ // this.callBxMethods({
bxMethodName: 'CallCardSetUiState', // bxMethodName: 'CallCardSetUiState',
bxFuncParams: { uiState: this.getBxUiState(stateCode) }, // bxFuncParams: { uiState: this.getBxUiState(stateCode) },
callback: (e) => { // callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`); // console.log(e, `CallCardSetUiState method done ${e}`);
}, // },
}); // });
} else if (funcName && this.onSipStateChange[funcName] !== 'undefined') { } else if (funcName && this.onSipStateChange[funcName] !== 'undefined') {
this.onSipStateChange[funcName](funcParam); this.onSipStateChange[funcName](funcParam);
} }
...@@ -327,7 +327,6 @@ export class BoxDialer { ...@@ -327,7 +327,6 @@ export class BoxDialer {
this.setGuiPhoneState({ this.setGuiPhoneState({
funcName: 'modalState', funcName: 'modalState',
funcParam: { funcParam: {
bool: false, bool: false,
callType: 'outcoming', callType: 'outcoming',
......
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