[Kamailio-Users] %23 remove from rU

Alex Balashov abalashov at evaristesys.com
Tue Jan 12 15:45:26 CET 2010


On 01/12/2010 09:41 AM, Alex Balashov wrote:
> Section 19.1.2 ("Character Escaping Requirements") of RFC 3261 says
> quite clearly that special characters must be escaped when appearing in
> SIP URIs.
>
> It's up to the SIP stack to decode them and translate them into
> something usable by the caller, if needed. Kamailio doesn't do this for
> '#' by default.
>
> If you want to decode escaped characters, try use the transformations
> that are designed for that, i.e. {s.unescape.user}. Example:
>
> $(rU{s.unescape.user})

And, of course, you should look at the entire docs for transformations:

http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x

-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671




More information about the sr-users mailing list