just to add... below are snippets from  RFC 2396 : -

Data characters that are allowed in a URI but do not have a reserved
   purpose are called unreserved.  These include upper and lower case
   letters, decimal digits, and a limited set of punctuation marks and
   symbols.

      unreserved  = alphanum | mark
mark        = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")"


delims      = "<" | ">" | "#" | "%" | <">
they are disallowed within the URI syntax. The character "#" is excluded
   because it is used to delimit a URI from a fragment identifier in URI
   references (Section 4).

 The URI syntax is dependent upon the scheme.

3.2.2. Server-based Naming Authority

   URL schemes that involve the direct use of an IP-based protocol to a
   specified server on the Internet use a common syntax for the server
   component of the URI's scheme-specific data:

      <userinfo>@<host>:<port>

   where <userinfo> may consist of a user name and, optionally, scheme-
   specific information about how to gain authorization to access the
   server.  The parts "<userinfo>@" and ":<port>" may be omitted.

      server        = [ [ userinfo "@" ] hostport ]

   The user information, if present, is followed by a commercial at-sign
   "@".

      userinfo      = *( unreserved | escaped |
                         ";" | ":" | "&" | "=" | "+" | "$" | "," )




does sip uri fall in Server-based Naming scheme ? in that case does this 
mean, I can have "*" as part of the sip uri but not "#" ?

Regards,
Divya

----- Forwarded by Divya Singh/HSS on 12/06/2006 07:54 PM -----

Divya Singh/HSS 
12/06/2006 07:34 PM
Aricent-Unclassified

To
sip-implementors <[email protected]>
cc

Subject
can username part of uri contain "*#"





Hi,
Is it syntactically correct to have *# in the username part of the uri? 

In Rfc 2806, "*" & "#" are defined as DTMF-digits & it appears that we can 
have tel:*#123 etc. in tel uri's. but what about sip uri's of the form 
sip:[EMAIL PROTECTED];user=phone
here the username part will be a phone number. So can we have "*" & "#" in 
the username part of the sip uri of the above format ?

You can also refer the relevant Rfc 

Regards,
Divya 

***********************  Aricent-Unclassified   ***********************

***********************  Aricent-Unclassified   ***********************
"DISCLAIMER: This message is proprietary to Aricent  and is intended solely for 
the use of 
the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be 
circulated or used for any purpose other than for what it is intended. If you 
have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this 
message. Aricent accepts no responsibility for 
loss or damage arising from the use of the information transmitted by this 
email including damage from virus."
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to