Commit 802d255c authored by Muhammadali's avatar Muhammadali

update-

parent c2d55133
{
"name": "boxdialer",
"version": "3.2.3",
"version": "3.2.4",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -627,27 +627,27 @@ export class BoxDialer {
// });
// }
console.log('this_oSipSessionCall_bHeld: ', this.oSipSessionCall.bHeld);
if (this.oSipSessionCall.bHeld) {
this.oSipSessionCall.resume();
this.callBxMethods({
bxMethodName: 'CallCardSetUiState',
bxFuncParams: { muted: true },
callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`);
},
});
} else {
this.oSipSessionCall.hold();
this.callBxMethods({
bxMethodName: 'CallCardSetUiState',
bxFuncParams: { muted: false },
callback: (e) => {
console.log(e, `CallCardSetUiState method done ${e}`);
},
});
}
// console.log('this_oSipSessionCall_bHeld: ', this.oSipSessionCall.bHeld);
this.oSipSessionCall.bHeld();
// if (this.oSipSessionCall.bHeld) {
// this.oSipSessionCall.resume();
// this.callBxMethods({
// bxMethodName: 'CallCardSetUiState',
// bxFuncParams: { muted: true },
// callback: (e) => {
// console.log(e, `CallCardSetUiState method done ${e}`);
// },
// });
// } else {
// this.oSipSessionCall.hold();
// this.callBxMethods({
// bxMethodName: 'CallCardSetUiState',
// bxFuncParams: { muted: false },
// callback: (e) => {
// console.log(e, `CallCardSetUiState method done ${e}`);
// },
// });
// }
}
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