Re: [reSIProcate] How to escape special characters in a Uri()
reSIP has direct support for SIP messages embedded in Uris.
You do not need to hand code the escape sequences.
See Uri::embedded()
david
On 8/14/06, Kovar, William (Bill) <bkovar@xxxxxxxxx> wrote:
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
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel