Commit 63d78079 authored by Muhammadali's avatar Muhammadali

update-

parent 2638839d
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.5.3", "version": "2.5.4",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -558,25 +558,18 @@ export class BoxDialer { ...@@ -558,25 +558,18 @@ export class BoxDialer {
}; };
} }
this.oSipSessionCall.bHeld = this.callHold; this.oSipSessionCall.bHeld = this.callEvetsBoxDialer.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: this.test() }, // 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.oSipSessionCall.bHeld); console.log('this_oSipSessionCall_bHeld', this.callEvetsBoxDialer.callHold);
}
test() {
setTimeout(() => {
return false;
}, 5000);
return true;
} }
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