Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Iñaki Baz Castillo
2011/3/26 Juha Heinanen j...@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 @

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Juha Heinanen
Iñaki Baz Castillo writes: 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. inaki, sorry about the noise. i figured it myself too that : and @ in sip uri cannot be escaped. my problem is that for some

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Daniel-Constantin Mierla
Hello, there is a transformation to get %hexa back to ascii char, have you tried this one? http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x#sunescapeuser Cheers, Daniel On 3/26/11 6:42 AM, Juha Heinanen wrote: Iñaki Baz Castillo writes: Hi Juha, I don't understand why

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Juha Heinanen
Daniel-Constantin Mierla writes: there is a transformation to get %hexa back to ascii char, have you tried this one? http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x#sunescapeuser i didn't, because @ is not allowed in userpart. anyway, as i mentioned, the problem is

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Iñaki Baz Castillo
2011/3/26 Juha Heinanen j...@tutpro.com: resource-listhttp%3A//xcap.test.fi%3A8080/xcap-root/resource-lists/users/sip%3Ajh%40test.fi/generallist.xml/%7E%7E/resource-lists/list%5B%40name%3D%22oma_buddylist%22%5D/resource-list Hi Juha, from my understanding the above syntax is indeed incorrect, as

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/26/11 7:45 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: there is a transformation to get %hexa back to ascii char, have you tried this one? http://www.kamailio.org/dokuwiki/doku.php/transformations:3.1.x#sunescapeuser i didn't, because @ is not allowed in userpart.

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Jiri Kuthan
On 3/26/11 2:06 AM, Juha Heinanen wrote: 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? we have never introduced escaping indeed. -jiri -- juha

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Daniel-Constantin Mierla
On 3/26/11 7:30 PM, Jiri Kuthan wrote: On 3/26/11 2:06 AM, Juha Heinanen wrote: 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? we have never introduced escaping indeed. Starting with 3.x,

Re: [SR-Users] uri unescape transformation?

2011-03-26 Thread Jiri Kuthan
well shame on me and thanks for catching it :-) -jiri On 3/26/11 7:38 PM, Daniel-Constantin Mierla wrote: On 3/26/11 7:30 PM, Jiri Kuthan wrote: On 3/26/11 2:06 AM, Juha Heinanen wrote: i could not find a transformation or function to unescape an uri, such as this: sip%3Atest%40test.fi