### Description
When used haproxy protocol then from client perspetive TCP connection established to
loadbalancer IP address.
Real Kamailio listener may be IPv6 and expected to see `$RAut` value with IP of load
balancer IP.
Really I can see for first message from the client
```
sip:2600::6:45060;transport=tcp
```
For second message
```
Advertised socket URI: sip:[2600::6]:5060
```
For first case missed `[]` in the IP and expected to see loadbalancer IPv4 because client
use IPv4 to establish connection to Kamailio.
### Expected behavior
Used loadbalancerserver IP from haproxy protocol for `$RAut` value and for `Record-Route`
headers generation.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3667
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3667(a)github.com>