Javier Valencia
Javier Valencia

Reputation: 695

Kamailio xhttp module (Websocket) header on SIP logic

I have a Kamailio behind a nginx for websockets secure. nginx setup some headers like X-Forwarded-For and I want to handle this values on main routing logic.

Upvotes: 0

Views: 528

Answers (1)

miconda
miconda

Reputation: 1817

The value of the header should be available inside event_route for xhttp module via $hdr(X-Forwarded-For).

Upvotes: 1

Related Questions