[OpenSIPS-Devel] SF.net SVN: opensips:[7903] trunk

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 21 18:24:38 CEST 2011


Revision: 7903
          http://opensips.svn.sourceforge.net/opensips/?rev=7903&view=rev
Author:   bogdan_iancu
Date:     2011-04-21 16:24:38 +0000 (Thu, 21 Apr 2011)

Log Message:
-----------
Enhancement to core
1. Add new pvar $hdrcnt(name). Same semantics as $hdr, but returns the number of headers of the given name/type.
2. Add new transform {param.exist,name} which returns 1 if parameter of given name exists, else 0. This is useful for testing params that don't have values (e.g., lr,ob).

Closes patch #3279581
Credits go to Kennard White.

Modified Paths:
--------------
    trunk/pvar.c
    trunk/pvar.h
    trunk/transformations.c
    trunk/transformations.h


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list