haproxy sed dst_ip address from haproxy protocol https://github.com/kamailio/kamailio/blob/master/src/core/tcp_main.c#L987-L9...
How I can use this value inside set_advertised_address() function?
Like set_advertised_address(dst_ip)
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-L9... 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 List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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 miconda@gmail.com 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-L9...
How I can use this value inside set_advertised_address() function?
Like set_advertised_address(dst_ip)
Kamailio (SER) - Users Mailing Listsr-users@lists.kamailio.orghttps://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