Kurt,

Look into the section 25.1 of RFC3261:

SIP-URI = "sip:" [ userinfo ] hostport
uri-parameters [ headers ]
userinfo = ( user / telephone-subscriber ) [ ":" password ] "@"
user = 1*( unreserved / escaped / user-unreserved )
user-unreserved = "&" / "=" / "+" / "$" / "," / ";" / "?" / "/"
unreserved = alphanum / mark
mark = "-" / "_" / "." / "!" / "~" / "*" / "'"
/ "(" / ")"
escaped = "%" HEXDIG HEXDIG

So, any character MAY be quoted (using "escaped" construct) (but SHOULD 
NOT if "unreserved", see 2.3 of RFC2396), and some characters SHALL be 
quoted (because they are not listed in unreserved or user-unreserved). 
So, '#' SHALL be escaped (but is often written unescaped in the real world).

Mailing List wrote:
> Hi,
> 
> Is it allowed to have the "#" in the request uri (.e.g. sip:999#
> [EMAIL PROTECTED] ) or in the Contact header or must it be escaped using %23 (
> [EMAIL PROTECTED]).
> 
> Thx
> 
> Kurt

-- 
Sincerely,
Andrew Pogrebennyk
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to