mirror of
https://github.com/jambonz/sbc-sip-sidecar.git
synced 2025-12-19 04:27:46 +00:00
wip
This commit is contained in:
@@ -81,7 +81,7 @@ class Regbot {
|
||||
const transport = this.protocol.includes('/') ? this.protocol.substring(0, this.protocol.indexOf('/')) :
|
||||
this.protocol;
|
||||
const proxy = `sip:${this.ipv4}${isIPv4 ? `:${this.port}` : ''};transport=${transport}`;
|
||||
const req = await srf.request(`sip:${this.aor}`, {
|
||||
const req = await srf.request(`sip${transport === 'tls' ? 's' : ''}:${this.aor}`, {
|
||||
method: 'REGISTER',
|
||||
proxy,
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user