> -----Original Message-----
> From: Deepak Mohan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 12, 2001 12:02 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Sip-implementors] missing User and URL Comparison in
> bis-03
>
>
> Bryan,
> 1. Component does not have a default value.
> 2. Component is present only in ONE of the URLs to be compared.
> So, the urls do not match.
>
I don't know how you came to that conclusion. By "ignored", it means that
this component is not included in the matching operation.
Anyway, the URLs:
sip:foo.com
sip:[EMAIL PROTECTED]
are NOT equal. The reason is that the user portion of the SIP URL is NOT a
url-parameter.
Look carefully at the text:
user or telephone-subscriber, password, host, port and any url-parameter
parameters of the URI
must match. If a component is omitted, it matches based on its default
value. (For example, otherwise
equivalent URLs without a port specification and with port 5060 match.)
Components not found in
both URLs being compared, for which there is no default value, are ignored.
notice the text "and any url-parameter parameters of the URI must match".
So, we are talking here about things which are part of the url-parameter
BNF, which are delineated with semi-colon. This does NOT include the
username, port, password, or domain.
Perhaps people are confused by the term "component", which I will change to
"url parameter".
-Jonathan R.
> ------------- Original Message --------------
> BRYAN OGAWA <[EMAIL PROTECTED]> wrote:
> To:[EMAIL PROTECTED]
> From:BRYAN OGAWA <[EMAIL PROTECTED]>
> Date:Mon, 11 Jun 2001 16:17:07 -0700 (PDT)
> Subject: [Sip-implementors] missing User and URL Comparison in bis-03
>
>
> in the bis-03 draft, the following paragraph was added to section 2.1:
>
> user or telephone-subscriber, password, host, port and any
> url-parameter
> parameters of the URI must match. If a component is
> omitted, it matches
> based on its default value. (For example, otherwise equivalent URLs
> without a port specification and with port 5060 match.)
> Components not
> found in both URLs being compared, for which there is no
> default value,
> are ignored.
>
> The first time I read this paragraph, I was left with the notion that
> since user is optional, and does not have a default value, the last
> sentence would be in effect, e.g.
>
> sip:example.com
>
> and
>
> sip:[EMAIL PROTECTED]
>
> match.
>
> This might not be considered the most obvious result, and probably
> should be flagged if it is true.
>
> --
> Bryan K. Ogawa <[EMAIL PROTECTED]> http://www.vovida.org/
>
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
>
> _____________________________________________________
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>
> _______________________________________________
> Sip-implementors mailing list
> [EMAIL PROTECTED]
> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
>
---
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Ave.
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.jdrosen.net PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors