Hi
I am using kamailio 1.5.0.2
How can i read SIP Header in kamailio for every sip request.
Is there any method / function which will help to read SIP Header...??
Yes - there is a namespace container called $hdr that will serve that purpose, e.g.
xlog("L_INFO", "From header value: $hdr(From)\n");
or
if($hdr(X-Custom-Header) == "value")
Chandrakant Solanki wrote: