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 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 reason i got such
escaped uris in xcap rls document that i created using xcap-rls-services
cli tool:

<?xml version='1.0' encoding='UTF-8'?>
<rls-services xmlns="urn:ietf:params:xml:ns:rls-services">
   <service uri="sip:jh_...@test.fi">
     
<resource-list>http%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>
     <packages>
       <package>presence</package>
     </packages>
   </service>
   <service xmlns:rl="urn:ietf:params:xml:ns:resource-lists" 
uri="sip:jh-budd...@test.fi">
     <list>
       <rl:entry uri="sip%3Atest%40test.fi"/>
       <rl:entry uri="sip%3Afoo%40test.fi"/>
     </list>
     <packages>
       <package>presence</package>
     </packages>
   </service>
</rls-services>

and then subscriptions to the list, of course, failed, because of the
escapes.

perhaps there is a bug in the tool.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to