These pseudo-variables contain local socket information. and do not contains the value passed from HAproxy server
On Tue, Feb 16, 2021 at 9:31 PM Daniel-Constantin Mierla <[email protected]> wrote: > Hello, > > aren't them the $Ri (IP address) and $Rp (port)? > > Cheers, > Daniel > On 16.02.21 14:15, Sergey Safarov wrote: > > haproxy sed dst_ip address from haproxy protocol > > https://github.com/kamailio/kamailio/blob/master/src/core/tcp_main.c#L987-L993 > > How I can use this value inside set_advertised_address() function? > > Like set_advertised_address(dst_ip) > > > _______________________________________________ > Kamailio (SER) - Users Mailing > [email protected]https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- > www.linkedin.com/in/miconda > Funding: https://www.paypal.me/dcmierla > >
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
