REFER should have sips contact if far end is using sips (#168)

This commit is contained in:
Dave Horton
2025-02-24 09:47:47 -05:00
committed by GitHub
parent 0b45e766b9
commit 28dae50202

View File

@@ -1173,7 +1173,7 @@ Duration=${payload.duration} `
// eslint-disable-next-line no-unused-vars
'content-length': _contentlength, 'refer-to': _referto, 'referred-by': referredby,
// eslint-disable-next-line no-unused-vars
'X-Refer-To-Leave-Untouched': _leave,
'X-Refer-To-Leave-Untouched': _leave, contact: _contact,
...customHeaders
} = req.headers;
@@ -1193,6 +1193,7 @@ Duration=${payload.duration} `
headers: {
'Refer-To': `<${stringifyUri(uri)}>`,
'Referred-By': referredby,
'Contact': this.contactHeader,
...customHeaders
}
});