On 10/15/2010 06:22 PM, Daniel Goepp wrote: > I see several functions for searching, removing, substituting or > appending to headers, but I'm not seeing anything about just getting the > value of a custom header. I must be missing something. The closest I > thought would be the search, but it just returns true or false, not a > value, from what I can see. Is there a way to say get the value of a > custom header? An example of what I am thinking would be something like > this: > > $avp(s:my_header_value) = value_hf("X-My-Custom-Header") >
Just do $hdr(My-Custom-Header) and you'll get the value. Regards, -- Saúl Ibarra Corretgé AG Projects _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users