[SR-Users] Retrieve remote IP and port
Iskren Hadzhinedev
iskren.hadzhinedev at ikiji.com
Fri Sep 29 14:05:27 CEST 2017
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170929/6908dda7/attachment.html>
More information about the sr-users
mailing list