[SR-Users] uri unescape transformation?

Iñaki Baz Castillo ibc at aliax.net
Sat Mar 26 12:50:36 CET 2011


2011/3/26 Juha Heinanen <jh at tutpro.com>:
> i could not find a transformation or function to unescape an uri, such
> as this:
>
> sip%3Atest%40test.fi
>
> did i miss it or is there a need to write one?

Hi Juha, I don't understand why should it be needed. Why do you get a
URI like that? In fact, ":" and "@" don't require to be hex-escaped.

The only parts of a SIP URI which can be escaped are the following:

- userinfo   ( %63lice == alice )
- param name
- param value

Maybe you are using some SIP spec that fully escapes a SIP URI into
some param value and so?

Cheers.


-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list