mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
bugfix: regression - adding custom headers to refer caused preferred hostname on Refer-To to be lost
This commit is contained in:
@@ -628,7 +628,9 @@ Duration=${payload.duration} `
|
||||
uri.user = `+${uri.user}`;
|
||||
}
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
const {via, from, to, 'call-id':callid, cseq, 'max-forwards':maxforwards, 'content-length':contentlength,
|
||||
const {via, from, to, 'call-id':callid, cseq, 'max-forwards':maxforwards,
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
'content-length':contentlength, 'refer-to':_referto, 'referred-by':_referredby,
|
||||
...customHeaders
|
||||
} = req.headers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user