Commit 802d255c authored by Muhammadali's avatar Muhammadali

update-

parent c2d55133
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.2.3", "version": "3.2.4",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -627,27 +627,27 @@ export class BoxDialer { ...@@ -627,27 +627,27 @@ export class BoxDialer {
// }); // });
// } // }
console.log('this_oSipSessionCall_bHeld: ', this.oSipSessionCall.bHeld); // console.log('this_oSipSessionCall_bHeld: ', this.oSipSessionCall.bHeld);
this.oSipSessionCall.bHeld();
if (this.oSipSessionCall.bHeld) { // if (this.oSipSessionCall.bHeld) {
this.oSipSessionCall.resume(); // this.oSipSessionCall.resume();
this.callBxMethods({ // this.callBxMethods({
bxMethodName: 'CallCardSetUiState', // bxMethodName: 'CallCardSetUiState',
bxFuncParams: { muted: true }, // bxFuncParams: { muted: true },
callback: (e) => { // callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`); // console.log(e, `CallCardSetUiState method done ${e}`);
}, // },
}); // });
} else { // } else {
this.oSipSessionCall.hold(); // this.oSipSessionCall.hold();
this.callBxMethods({ // this.callBxMethods({
bxMethodName: 'CallCardSetUiState', // bxMethodName: 'CallCardSetUiState',
bxFuncParams: { muted: false }, // bxFuncParams: { muted: false },
callback: (e) => { // callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`); // console.log(e, `CallCardSetUiState method done ${e}`);
}, // },
}); // });
} // }
} }
closeButtonClick() { closeButtonClick() {
......
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