[OpenSIPS-Devel] [ opensips-Patches-3279581 ] $hdrcnt pvar and {param.exist} transform
SourceForge.net
noreply at sourceforge.net
Fri Apr 22 08:43:54 CEST 2011
Patches item #3279581, was opened at 2011-04-07 19:40
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3279581&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
>Status: Closed
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Kennard White (kennardwhite)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: $hdrcnt pvar and {param.exist} transform
Initial Comment:
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).
----------------------------------------------------------------------
>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-04-22 09:43
Message:
Thanks
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2011-04-22 00:13
Message:
Wiki updated.
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-04-21 19:26
Message:
Hi Kennard,
Your patch is on SVN trunk - thank you. As for the other patch, please
update the online documentation (you need to create a wiki account to be
able to edit):
- transformation - http://www.opensips.org/Resources/DocsCoreTran
- variables - http://www.opensips.org/Resources/DocsCoreVar
Regards,
Bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3279581&group_id=232389
More information about the Devel
mailing list