Subject: [SIP] question on sip url grammar.

From: S_S_Dinesh/India/[email-masked]
Date: Mon, 8 May 2000 14:10:31 +0530

A question on BNF grammar in SIP url.
In BNF RFC, it is given that [       stands for 0 or 1 times the value.
It is given

SIP-URL = "sip:"  [userinfo '@'] hostport url-parameters....
user-info = user [":"password]
user = *(unreserved... )                          //optional

password = *(unreserved ...)                 //optional.

so, this leads to a url as:

sip::@hostport.                  So, with the above grammar, this is
valid.
is my understanding right?

Also, for hostport;

sip:userinfo@host:urlparms            //since port is optional.

Thanks much!

--
Sunitha Kumar
Software Engineer
Vovida Networks
(408) 957 - 6374