bugfix: to move call leg to a different FS using the special REFER, we now must include X-Account-Sid header

This commit is contained in:
Dave Horton
2022-10-15 10:52:56 -04:00
parent 917b8f332c
commit 3a5efa37b9

View File

@@ -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)) {