From 3a5efa37b901fe29df93bff8e1bd69cb2ddddf4e Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Sat, 15 Oct 2022 10:52:56 -0400 Subject: [PATCH] bugfix: to move call leg to a different FS using the special REFER, we now must include X-Account-Sid header --- lib/session/call-session.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/session/call-session.js b/lib/session/call-session.js index 8544b0fe..ab258064 100644 --- a/lib/session/call-session.js +++ b/lib/session/call-session.js @@ -1466,7 +1466,8 @@ class CallSession extends Emitter { headers: { 'Refer-To': referTo, 'Referred-By': `sip:${this.srf.locals.localSipAddress}`, - 'X-Retain-Call-Sid': this.callSid + 'X-Retain-Call-Sid': this.callSid, + 'X-Account-Sid': this.accountSid } }); if ([200, 202].includes(res.status)) {