Commit 2638839d authored by Muhammadali's avatar Muhammadali

update-

parent aebb513a
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "2.5.2", "version": "2.5.3",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -564,7 +564,7 @@ export class BoxDialer { ...@@ -564,7 +564,7 @@ export class BoxDialer {
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}`);
}, },
...@@ -572,6 +572,13 @@ export class BoxDialer { ...@@ -572,6 +572,13 @@ export class BoxDialer {
console.log('this_oSipSessionCall_bHeld', this.oSipSessionCall.bHeld); console.log('this_oSipSessionCall_bHeld', this.oSipSessionCall.bHeld);
} }
test() {
setTimeout(() => {
return false;
}, 5000);
return true;
}
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