[OpenSIPS-Devel] [ opensips-Patches-3606316 ] Add {s.hextolong} transformation

SourceForge.net noreply at sourceforge.net
Thu Feb 28 06:13:06 CET 2013


Patches item #3606316, was opened at 2013-02-27 21:13
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3606316&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: 1.9.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Add {s.hextolong} transformation

Initial Comment:
This patch adds the {s.hextolong} transformation to convert a hex string into a long integer.

xlog("$(Ri{ip.pton}{s.encode.hexa}{s.hextolong})\n"); # will convert the IP to a long integer value

The patch applies to 1.9.0-tls


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3606316&group_id=232389



More information about the Devel mailing list