Hi Chris,
You are using the wrong transformation - the hexa trans is for 16 base
coding / decoding, not for escaping. Like decode.hexa expects as input
an base 16 number.
I thing you are looking for unescape.user transformation.
Regards,
Bogdan
On 06/28/2011 02:31 PM, Chris Maciejewski wrote:
Hi,
I am having troubles with {s.decode.hexa} transformation.
My URI is sip:%[email protected] (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
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users