Hi list,
How can I reliably get the sender’s IP address?
|$si| and |$sp| are returning the server IP and Port.
I also tried using |$Ri| and |$Rp| but it yields the same results.
Inspecting the packet shows the sender’s true IP:Port pair in the |Via:|
header,
but the |From:| and |To:| contain the kamailio server’s public IP address.
Kind regards,
--
/Iskren Hadzhinedev/