New feature to get the real source IP when kamailio websocket is behind a load balancer transmitting X-Forwarded-For and/or X-Real-IP headers:
Detect HTTP headers X-Forwarded-For and X-Real-IP during the Websocket handshake.
The pseudo variables $ws_real_src_ip is populated during ws_handshake() or null if not set.
$ws_real_src_ip is indeed readonly.
https://github.com/kamailio/kamailio/pull/1002
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.