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 theVia:
header,
but theFrom:
andTo:
contain the kamailio server’s public IP address.Kind regards,
--
Iskren Hadzhinedev
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users