Add more logs for call disposition

This commit is contained in:
Jamie Kyle
2023-01-11 12:04:03 -08:00
committed by GitHub
parent 81e1357723
commit 81fc9ff94d
4 changed files with 25 additions and 2 deletions

View File

@@ -727,7 +727,9 @@ function callStateChange(
if (isIncomingRemoteHangup) {
// This is considered just another "missed" event
log.info('callStateChange: not syncing hangup from self');
log.info(
`callStateChange: not syncing hangup from self (Call ID: ${callId}))`
);
} else if (
isOutgoingRemoteAccept ||
isIncomingLocalAccept ||
@@ -735,6 +737,7 @@ function callStateChange(
isIncomingLocalHangup ||
isOutgoingRemoteHangup
) {
log.info(`callStateChange: syncing call event (Call ID: ${callId})`);
try {
await singleProtoJobQueue.add(
MessageSender.getCallEventSync(