Commit 64dd4818 authored by Muhammadali's avatar Muhammadali

update

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