Commit 6d84c1de authored by Muhammadali's avatar Muhammadali

update-

parent f5ca9fdf
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.5.9", "version": "2.6.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -543,7 +543,10 @@ export class BoxDialer { ...@@ -543,7 +543,10 @@ export class BoxDialer {
}); });
} }
holdButtonClick() { holdButtonClick() {
console.log(`holdButtonClick`); console.log(
`this_callEvetsBoxDialer_callHold: `,
this.callEvetsBoxDialer.callHold,
);
if (this.callEvetsBoxDialer.callHold) { if (this.callEvetsBoxDialer.callHold) {
this.oSipSessionCall.resume(); this.oSipSessionCall.resume();
this.callEvetsBoxDialer = { this.callEvetsBoxDialer = {
...@@ -561,15 +564,14 @@ export class BoxDialer { ...@@ -561,15 +564,14 @@ export class BoxDialer {
this.oSipSessionCall.bHeld = this.callHold; this.oSipSessionCall.bHeld = this.callHold;
this.onSipStateChange.setCallEvents(this.callEvetsBoxDialer); this.onSipStateChange.setCallEvents(this.callEvetsBoxDialer);
this.callBxMethods({ // this.callBxMethods({
bxMethodName: 'CallCardSetHold', // bxMethodName: 'CallCardSetHold',
// bxFuncParams: { held: this.oSipSessionCall.bHeld }, // // bxFuncParams: { held: this.oSipSessionCall.bHeld },
bxFuncParams: { held: false }, // bxFuncParams: { held: false },
callback: (e) => { // callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`); // console.log(e, `CallCardSetUiState method done ${e}`);
}, // },
}); // });
console.log('this_oSipSessionCall_bHeld', this.oSipSessionCall.bHeld);
} }
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