mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2025-12-19 04:37:43 +00:00
on REFER from fs, remove incoming Contact header before sending onward
This commit is contained in:
@@ -999,7 +999,7 @@ Duration=${payload.duration} `
|
|||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
'content-length':contentlength, 'refer-to':_referto, 'referred-by':_referredby,
|
'content-length':contentlength, 'refer-to':_referto, 'referred-by':_referredby,
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
'X-Refer-To-Leave-Untouched': _leave,
|
'X-Refer-To-Leave-Untouched': _leave, 'contact':_contact,
|
||||||
...customHeaders
|
...customHeaders
|
||||||
} = req.headers;
|
} = req.headers;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user