Hi @miconda !
I checked this commit, now it works, there are no errors in the log, except for one - there are no extra attributes in the second branch in the Via header, srvid=10 in my case:

``` 2022/01/26 13:50:57.083262 192.168.122.130:5060 -> 192.168.122.131:5060 OPTIONS sip:192.168.122.131:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 192.168.122.130;branch=z9hG4bK1f34.23d14794000000000000000000000000.0;srvid=10 To: sip:192.168.122.131:5060;transport=udp From: sip:dispatcher@localhost;tag=e92e326f0a937cb326014225217c2c12-6c22046b CSeq: 10 OPTIONS Call-ID: 6bf96ef8338b5e4a-58713@192.168.122.130 Max-Forwards: 70 Content-Length: 0 User-Agent: kamailio (5.6.0-dev3 (x86_64/linux))
2022/01/26 13:50:57.331945 192.168.122.130:5060 -> 192.168.122.129:5060 OPTIONS sip:192.168.122.131:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 192.168.122.130;branch=z9hG4bK1f34.23d14794000000000000000000000000.1 To: sip:192.168.122.131:5060;transport=udp From: sip:dispatcher@localhost;tag=e92e326f0a937cb326014225217c2c12-6c22046b CSeq: 10 OPTIONS Call-ID: 6bf96ef8338b5e4a-58713@192.168.122.130 Max-Forwards: 70 Content-Length: 0 User-Agent: kamailio (5.6.0-dev3 (x86_64/linux))
2022/01/26 13:50:57.334087 192.168.122.129:5060 -> 192.168.122.130:5060 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.122.130;rport=5060;received=192.168.122.130;branch=z9hG4bK1f34.23d14794000000000000000000000000.1 Call-ID: 6bf96ef8338b5e4a-58713@192.168.122.130 From: sip:dispatcher@localhost;tag=e92e326f0a937cb326014225217c2c12-6c22046b To: sip:192.168.122.131;tag=z9hG4bK1f34.23d14794000000000000000000000000.1 CSeq: 10 OPTIONS WWW-Authenticate: Digest realm="asterisk",nonce="1643194257/ff6d7e670c94e952efa5b03ea181f1b3",opaque="30981a5d6736d06f",algorithm=md5,qop="auth" Server: Asterisk PBX 18.1.1 Content-Length: 0 ```