Commit 8c8540f1 authored by Muhammadali's avatar Muhammadali

update

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