[OpenSIPS-Users] Value of custom header

Ovidiu Sas osas at voipembedded.com
Fri Oct 15 18:29:14 CEST 2010


Check out the documentation:
http://www.opensips.org/Resources/DocsCoreVar16#toc88

Read the docs, many questions are answered there ;)


Regards,
Ovidiu Sas

On Fri, Oct 15, 2010 at 12:22 PM, Daniel Goepp <dan at goepp.net> 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")
>
> Make sense?
>
> -dg
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>



More information about the Users mailing list