Commit 72858189 authored by Muhammadali's avatar Muhammadali

update-

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