TP-89230 | softcode sip credentials
This commit is contained in:
@@ -120,7 +120,6 @@ class AmeyoAdapter implements IAdapter {
|
||||
|
||||
}
|
||||
if(payload?.data?.requestKey === RequestKeys.AMEYO_ON_BREAK) {
|
||||
debugger;
|
||||
setAutoStatus(this.sessionId);
|
||||
this.isAgentAvailable = false;
|
||||
window.postMessage({ type: 'onAmeyoAvailabiltyChange', data: false }, );
|
||||
@@ -131,9 +130,6 @@ class AmeyoAdapter implements IAdapter {
|
||||
if (data?.type === MessagingType.SET_RESPONSE_WITHOUT_CORS) {
|
||||
this._onListenForCorsBypassResponse(data);
|
||||
}
|
||||
if (data?.type === 'setAmeyoAvailabilty') {
|
||||
window.postMessage({ type: 'onAmeyoAvailabiltyChange', data: true });
|
||||
}
|
||||
if(data?.type === MessagingType.ON_AMEYO_CALL_INCOMING) {
|
||||
this.callbacks.onCallIncoming(data?.data);
|
||||
this.currentCallMetadata = {...this.currentCallMetadata, ...data?.data}
|
||||
|
||||
Reference in New Issue
Block a user