You might be wondering, how to enter SRV values into your fresh VestaCP/HestiaCP install. Bellow is an example for Office 365 settings:
Type | Target | Protocol | Service | Priority | Weight | Port |
SRV | sipdir.online.lync.com | _tls | _sip | 100 | 1 | 443 |
SRV | sipfed.online.lync.com | _tcp | _sipfederationtls | 100 | 1 | 5061 |
You might be tempted to put weight and port into IP/Value field (as this is what is suggested on Microsoft’s tutorial page), but that’s not how it works in VestaCP/HestiaCP. Instead, put them together with the priority as shown bellow.
Records in VestaCP/HestiaCP control panel
Domain: example.com Record: _sip._tls Type: SRV IP or Value: sipdir.online.lync.com. Priority (optional): 100 1 443
Domain: example.com Record: _sipfederationtls._tcp Type: SRV IP or Value: sipfed.online.lync.com. Priority (optional): 100 1 5061
That’s it for the SRV values, of course, don’t forget your A, CNAME and TXT!