Subject: [SIP] Registrar - lookup questions

From: Shail Bhatnagar <[email-masked]>
Date: Tue, 11 Apr 2000 10:22:39 -0400

I have some doubts about the lookup key used by the registrar. Let us say
that a user A sends a REGISTER to his registrar :

REGISTER mydomain.com:5060 SIP/2.0
Via: ...
From: ...
Call-ID: ...
CSeq: ...
To: <[email-masked]>
Contact: <sip:userA.sipphone.com:5055;maddr=1.2.3.4>;expires=7200
Content-Length:0

Now, there are 2 fundamental questions :

1) How to locate the registrations of userA
Use "[email-masked]" as search key. Is that a correct answer ??
(In other words use user@host as the search key.)

2) How to determine if this Contact updates an existing Contact or is a new
Contact ?

At one point, the spec says SIP URI in Contact should be compared according
to the URI comparison rules and then subsequently it says registrations are
matched based on the user, host, port and maddr parameters. 
Can someone clarify this ??

Thanks,
Shail

_______________________________________________
SIP mailing list
[email-masked]
http://lists.bell-labs.com/mailman/listinfo/sip