Commit 93a11e64 authored by Muhammadali's avatar Muhammadali

update

parent 5d3bda94
......@@ -257,8 +257,8 @@ export class BoxDialer {
console.log(
'dsadsadsad',
!(!!window?.alovoice_wsphone && !!stateCode?.length),
!!window?.alovoice_wsphone,
!!stateCode?.length,
!window?.alovoice_wsphone,
!stateCode?.length,
);
if (window?.alovoice_wsphone && !!stateCode?.length) {
this.callBxMethods({
......@@ -269,8 +269,9 @@ export class BoxDialer {
},
});
} else if (
!(window?.alovoice_wsphone && !!stateCode?.length) &&
funcName &&
!window?.alovoice_wsphone &&
!stateCode?.length &&
!!funcName &&
this.onSipStateChange[funcName] !== 'undefined'
) {
this.onSipStateChange[funcName](funcParam);
......
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