[reSIProcate] How to escape special characters in a Uri()

Kovar, William (Bill) bkovar at avaya.com
Mon Aug 14 11:34:57 CDT 2006


All,
 
I'm trying to find out the correct way to escape characters similar to
the Refer-To example in RFC 3515. The example below (from section 2 of
RFC 3515) uses the following escaped sequences:
 
%40 -> @
%3B ->  ;
%3D -> =
 
Refer-To: <sip:dave at denver.example.org?Replaces=12345%40192.168.118.3%3B
to-tag%3D12345%3Bfrom-tag%3D5FFE-3994>
 
I need to construct the following:
 
Refer-To: <sip:user at domain.com?Call-Info=xxyyzz;sip:user2 at domain.com>
 
How do I escape the ';' using resiprocate?? Is this sequence: "\\;"
special to a Data type, i.e. will it know how to handle it?
 
Please advise...
 
Bill Kovar
Avaya Inc.
(732) 852-2609
bkovar at avaya.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060814/d2dd1673/attachment.htm>


More information about the resiprocate-devel mailing list