[OpenSIPS-Users] Hex decode

Chris Maciejewski chris at wima.co.uk
Tue Jun 28 13:31:49 CEST 2011


Hi,

I am having troubles with {s.decode.hexa} transformation.

My URI is sip:%232005 at sip.local (note: '#' character encoded as %23),
so I would expect the following:

$var(rUdecoded) = $(rU{s.decode.hexa});
xlog("Decoded URI: $var(rUdecoded)");

to print in the log file:

Decoded URI: #2005

but what I am getting instead is:

ERROR:core:do_assign: no value in right expression
ERROR:core:do_assign: error at line: 138
Decoded URI: 0

Any suggestions how to solve the above problem very much appreciated.

Best regards,
Chris



More information about the Users mailing list