TP-89230 | hangup user fix
This commit is contained in:
@@ -161,6 +161,7 @@ class AmeyoAdapter implements IAdapter {
|
||||
}
|
||||
if(data?.type === MessagingType.ON_AMEYO_CALL_DISCONNECTED) {
|
||||
this.callbacks.onCallDisconnected(data?.data);
|
||||
ameyoHangupUser(this.sessionId, this.currentCallMetadata?.crtObjectId);
|
||||
this.currentCallMetadata = {...this.currentCallMetadata, ...data?.data}
|
||||
}
|
||||
if(data?.type === MessagingType.ON_AMEYO_AGENT_ON_BREAK) {
|
||||
@@ -207,7 +208,6 @@ class AmeyoAdapter implements IAdapter {
|
||||
rejectCall() {
|
||||
console.log('rejectCall');
|
||||
sipHangUp();
|
||||
ameyoHangupUser(this.sessionId, this.currentCallMetadata?.crtObjectId);
|
||||
}
|
||||
|
||||
setOnBreak() {
|
||||
|
||||
Reference in New Issue
Block a user