Commit 4ebe24b1 authored by Muhammadali's avatar Muhammadali

update-

parent 318b89db
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.2.1", "version": "3.2.2",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -627,7 +627,7 @@ export class BoxDialer { ...@@ -627,7 +627,7 @@ export class BoxDialer {
// }); // });
// } // }
if (this.oSipSessionCall && this.oSipSessionCall.bHeld === false) { if (this.oSipSessionCall.bHeld) {
this.oSipSessionCall.resume(); this.oSipSessionCall.resume();
this.callBxMethods({ this.callBxMethods({
bxMethodName: 'CallCardSetUiState', bxMethodName: 'CallCardSetUiState',
...@@ -636,7 +636,7 @@ export class BoxDialer { ...@@ -636,7 +636,7 @@ export class BoxDialer {
console.log(e, `CallCardSetUiState method done ${e}`); console.log(e, `CallCardSetUiState method done ${e}`);
}, },
}); });
} else if (this.oSipSessionCall && this.oSipSessionCall.bHeld === true) { } else {
this.oSipSessionCall.hold(); this.oSipSessionCall.hold();
this.callBxMethods({ this.callBxMethods({
bxMethodName: 'CallCardSetUiState', bxMethodName: 'CallCardSetUiState',
......
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