Commit 8c8540f1 authored by Muhammadali's avatar Muhammadali

update

parent 93a11e64
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.8.5", "version": "1.8.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -215,11 +215,6 @@ export class BoxDialer { ...@@ -215,11 +215,6 @@ export class BoxDialer {
} }
getBxUiState(sipState) { getBxUiState(sipState) {
console.log(
'getBxUiState_sipState: ',
sipState,
this.callDirection === 'in' ? 'incoming' : 'outgoing',
);
if (sipState && !!sipState.length) sipState = this.sipState; if (sipState && !!sipState.length) sipState = this.sipState;
let uiStates = { let uiStates = {
stack_i_new_call: stack_i_new_call:
...@@ -229,7 +224,6 @@ export class BoxDialer { ...@@ -229,7 +224,6 @@ export class BoxDialer {
call_i_ao_request: 'connectingOutgoing', call_i_ao_request: 'connectingOutgoing',
stack_m_permission_accepted: stack_m_permission_accepted:
this.callDirection === 'in' ? 'incoming' : 'outgoing', this.callDirection === 'in' ? 'incoming' : 'outgoing',
stack_m_permission_accepted: 'outgoing',
}; };
return sipState && uiStates[sipState] ? uiStates[sipState] : ''; return sipState && uiStates[sipState] ? uiStates[sipState] : '';
...@@ -254,12 +248,6 @@ export class BoxDialer { ...@@ -254,12 +248,6 @@ export class BoxDialer {
} }
} }
setGuiPhoneState({ stateCode, funcName, funcParam }) { setGuiPhoneState({ stateCode, funcName, funcParam }) {
console.log(
'dsadsadsad',
!(!!window?.alovoice_wsphone && !!stateCode?.length),
!window?.alovoice_wsphone,
!stateCode?.length,
);
if (window?.alovoice_wsphone && !!stateCode?.length) { if (window?.alovoice_wsphone && !!stateCode?.length) {
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