[Kamailio-Users] detecting the presence of a header
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 28 19:56:41 CET 2009
Hello,
is_present_hf("hname") from textops:
http://kamailio.org/docs/modules/1.4.x/textops.html#id2506411
The development version has a new function: is_present_hf("regexp")
which can match header names by regular expressions:
http://kamailio.org/docs/modules/1.5.x/textops.html
Cheers,
Daniel
On 01/28/2009 08:52 PM, Daniel Corbe wrote:
> I need to quickly detect the presence of the Alert-Info header and do
> special processing if it is present. Is there facilities to do this
> currently?
>
> -Daniel
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Users
mailing list