Cool. One comment:
On Tue, 12 Jun 2001, Jonathan Rosenberg wrote:
> OK, here is the new text that will be in -04, which is hopefully clearer. I
> added some examples too. Below is the latex source, so if you don't know
> latex, just ignore all the \whatever{} stuff:
>
> \item \header{user} or \header{telephone-subscriber}, \header{password},
> \header{host}, \header{port} and any \header{url-parameter} parameters
> of the URI must match. If one of the components in the previous
> sentence is omitted, it matches based on its default value. (For
> example, otherwise equivalent URLs without a port specification and
> with port 5060 match.) URL parameters (which excludes
> \header{telephone-subscriber}, \header{password}, and \header{port})
here, I'd add \header{user} to the list of things which aren't URL
parameters, if you're going to list them.
> not found in both URLs being compared, for which there is no default
> value, are ignored, and therefore not included in the comparison
> operation. Other URL components not found in both URLs being compared,
> for which there is no default value, are included in the comparison
> operation, and the result will be that the URLs do not match.
>
> \item Characters other than those in the ``reserved'' and ``unsafe''
> sets (see RFC 2396 \cite{rfc2396}) are equivalent to their ``"\%" HEX
> HEX'' encoding.
>
> \item An IP address that is the result of a DNS lookup of a host name
> does \textbf{not} match that host name.
>
> \item URL parameters that have no default value are compared only if
> they are present in both URLs.
> \end{itemize}
>
> Thus, the following URLs are equivalent:
> \begin{verbatim}
> sip:juser@%65xample.com:5060
> sip:[EMAIL PROTECTED];Transport=udp
> \end{verbatim}
> while
> \begin{verbatim}
> SIP:[EMAIL PROTECTED];Transport=udp
> sip:[EMAIL PROTECTED];Transport=UDP
> \end{verbatim}
> are not.
>
> The following URLs are also equivalent:
> \begin{verbatim}
> sip:[EMAIL PROTECTED];foo=baz
> sip:[EMAIL PROTECTED]
> \end{verbatim}
> while
> \begin{verbatim}
> sip:[EMAIL PROTECTED]
> sip:domain.com
> \end{verbatim}
> are not.
>
> -Jonathan R.
>
> ---
> 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
>
>
> > -----Original Message-----
> > From: Jonathan Rosenberg [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 12, 2001 12:06 PM
> > To: 'Deepak Mohan'; [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [Sip-implementors] missing User and URL Comparison in
> > bis-03
> >
> >
> >
> >
> >
> >
> > > -----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
> >
>
--
Bryan K. Ogawa <[EMAIL PROTECTED]> http://www.vovida.org/
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors