Commit 93a11e64 authored by Muhammadali's avatar Muhammadali

update

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