support complex refer-to and refered-by uri (#140)

* support complex refer-to and refered-by uri

* wip
This commit is contained in:
Hoan Luu Huu
2024-05-07 19:27:32 +07:00
committed by GitHub
parent d200799997
commit a46ad934a8
3 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -971,8 +971,8 @@ Duration=${payload.duration} `
const response = await this.uas.request({
method: 'REFER',
headers: {
'Refer-To': stringifyUri(uri),
'Referred-By': stringifyUri(u),
'Refer-To': `<${stringifyUri(uri)}>`,
'Referred-By': `<${stringifyUri(u)}>`,
...customHeaders
}
});