From a166ad199cc96692808e7a304dc35a535100100f Mon Sep 17 00:00:00 2001 From: Sam Machin Date: Tue, 7 Oct 2025 11:24:08 +0100 Subject: [PATCH] if call is transferred from another FS then always answer Currently if the call being transferred was originally an outbound call then the direction thats retrieved from redis is outbound and the invite of the refer from the other FS is never answered, However a transferredCall will always need to be answered regardless of CallDirection --- lib/session/call-session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/session/call-session.js b/lib/session/call-session.js index 0738c4b1..8918acb8 100644 --- a/lib/session/call-session.js +++ b/lib/session/call-session.js @@ -2399,7 +2399,7 @@ Duration=${duration} ` this.logger.debug(`endpoint was destroyed!! ${this.ep.uuid}`); }); - if (this.direction === CallDirection.Inbound) { + if (this.direction === CallDirection.Inbound || this.application?.transferredCall) { if (task.earlyMedia && !this.req.finalResponseSent) { this.res.send(183, {body: ep.local.sdp}); return {ep};