Commit 9b602373 authored by Muhammadali's avatar Muhammadali

update-

parent 5e846082
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.5.5", "version": "2.5.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -543,35 +543,36 @@ export class BoxDialer { ...@@ -543,35 +543,36 @@ export class BoxDialer {
}); });
} }
holdButtonClick() { holdButtonClick() {
// console.log(`holdButtonClick`); console.log(`holdButtonClick`);
// if (this.callEvetsBoxDialer.callHold) { if (this.callEvetsBoxDialer.callHold) {
// this.oSipSessionCall.resume(); this.oSipSessionCall.resume();
// this.callEvetsBoxDialer = { this.callEvetsBoxDialer = {
// ...this.callEvetsBoxDialer, ...this.callEvetsBoxDialer,
// callHold: false, callHold: false,
// }; };
// } else { } else {
// this.oSipSessionCall.hold(); this.oSipSessionCall.hold();
// this.callEvetsBoxDialer = { this.callEvetsBoxDialer = {
// ...this.callEvetsBoxDialer, ...this.callEvetsBoxDialer,
// callHold: true, callHold: true,
// }; };
// } }
// this.oSipSessionCall.bHeld = this.callEvetsBoxDialer.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: true }, // bxFuncParams: { held: this.test() },
callback: (e) => { callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`); console.log(e, `CallCardSetUiState method done ${e}`);
}, },
}); });
console.log('this_oSipSessionCall_bHeld', this.callEvetsBoxDialer.callHold); console.log('this_oSipSessionCall_bHeld', this.callEvetsBoxDialer.);
} }
closeButtonClick() { closeButtonClick() {
console.log('closeButtonClick'); console.log('closeButtonClick');
this.hangupButtonClick(); this.hangupButtonClick();
......
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