< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

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


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@xxxxxxxxxxxxxxxxxx?Replaces=12345%40192.168.118.3%3B
to-tag%3D12345%3Bfrom-tag%3D5FFE-3994>
 
I need to construct the following:
 
Refer-To: <sip:user@xxxxxxxxxx?Call-Info=xxyyzz;sip:user2@xxxxxxxxxx>
 
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@xxxxxxxxx