Commit 72858189 authored by Muhammadali's avatar Muhammadali

update-

parent ff525f41
{
"name": "boxdialer",
"version": "4.8.24",
"version": "4.8.25",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -761,8 +761,7 @@ export class BoxDialer {
},
});
} else if (
window?.alovoice_wsphone.iscloud &&
window?.alovoice_wsphone &&
!window?.alovoice_wsphone &&
!stateCode?.length &&
!!funcName &&
this.onSipStateChange[funcName] !== 'undefined'
......@@ -886,17 +885,13 @@ export class BoxDialer {
if (audio) {
this.callSession.unmute();
console.log('muteButtonClick_unmute');
this.setGuiPhoneState({
funcName: 'setCallEvents',
funcParam: { callMute: false },
});
this.onSipStateChange['setCallEvents']({ callMute: false });
} else {
this.callSession.mute();
console.log('muteButtonClick_mute');
this.setGuiPhoneState({
funcName: 'setCallEvents',
funcParam: { callMute: true },
});
this.onSipStateChange['setCallEvents']({ callMute: true });
}
}
holdButtonClick() {
......@@ -904,16 +899,12 @@ export class BoxDialer {
console.log('local: ', local);
if (local) {
this.callSession.unhold();
this.setGuiPhoneState({
funcName: 'setCallEvents',
funcParam: { callHold: false },
});
this.onSipStateChange['setCallEvents']({ callHold: false });
} else {
this.callSession.hold();
this.setGuiPhoneState({
funcName: 'setCallEvents',
funcParam: { callHold: true },
});
this.onSipStateChange['setCallEvents']({ callHold: true });
}
}
......
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