Commit 6b3d1668 authored by Muhammadali's avatar Muhammadali

update-

parent 6d84c1de
......@@ -218,7 +218,9 @@ export class BoxDialer {
if (sipState && !!sipState.length) sipState = this.sipState;
let uiStates = {
stack_i_new_call:
this.callDirection === 'in' ? 'connectingIncoming' : 'connected',
this.callDirection === 'in'
? 'connectingIncoming'
: 'connectingOutgoing',
call_connected: 'connected',
call_m_stream_audio_remote_added: 'connected',
......@@ -547,6 +549,9 @@ export class BoxDialer {
`this_callEvetsBoxDialer_callHold: `,
this.callEvetsBoxDialer.callHold,
);
// BX24.placement.call('CallCardSetHold', { held: true }, () => {
// });
if (this.callEvetsBoxDialer.callHold) {
this.oSipSessionCall.resume();
this.callEvetsBoxDialer = {
......@@ -564,14 +569,14 @@ export class BoxDialer {
this.oSipSessionCall.bHeld = this.callHold;
this.onSipStateChange.setCallEvents(this.callEvetsBoxDialer);
// this.callBxMethods({
// bxMethodName: 'CallCardSetHold',
// // bxFuncParams: { held: this.oSipSessionCall.bHeld },
// bxFuncParams: { held: false },
// callback: (e) => {
// console.log(e, `CallCardSetUiState method done ${e}`);
// },
// });
this.callBxMethods({
bxMethodName: 'CallCardSetHold',
bxFuncParams: { held: this.oSipSessionCall.bHeld },
// bxFuncParams: { held: 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