Prakash GS wrote:
>
> Hi all
> I have a query regarding url comparison .
> Suppose i send a REGISTER message to a proxy+registrar with the
> To
> field as:
>
> To: prakashgs
> <sip:[EMAIL PROTECTED];USER=ip>;generic-param=xyz
>
> Then for an updating registration, should the URL comparison
> take
> into account the generic-param ?
> OR is the comparison limited only to the url parameters :
> user,ttl,method,maddr,transport parameters.
No, no parameters are used. See bullet 5 of section 10.3 in bis-09,
which reads:
The registrar extracts the address-of-record from the To header field of
the request. If the address-of- record is not valid for the domain in
the Request-URI, the registrar MUST send a 404 (Not Found) 1705
response and skip the remaining steps. The URI MUST then be converted to
a canonical form. To do 1706
that, all URI parameters MUST be removed (including the user-param), and
any escaped characters 1707
MUST be converted to their unescaped form. The result serves as an index
into the list of bindings. 1708
In other words, its JUST the user@host part.
>
> I have the same doubt regarding comparison of Contact
> parameters as
> per SIP Caller Preferences Draft-05.
> For a Contact URL comparison , does the comparison apply to ALL
> parameters in the Contact or only to parameters that are specific to the
> Contact.
The comparison is only done on the URIs, not on the contact parameters
(which are not URI parameters). So, if I first register:
Contact: sip:user@domain;mobility=fixed
and then later:
Contact: sip:user@domain;mobility=mobile
the second registration replaces the previous since the contact URI are
identical.
-Jonathan R.
--
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Avenue
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.jdrosen.net PH: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors