|
Written by Hemanshu Patel
|
|
Thursday, 08 November 2007 |
|
Page 4 of 17 2.3. Request for Current Contact List
Bob SIP Server | | | REGISTER F1 | |------------------------------>| | 200 OK F2 | |<------------------------------| | |
Bob sends a register request to the Proxy Server containing no Contact headers, indicating the user wishes to query the server for the user's current contact list. Since the user already has authenticated with the server, the user supplies authentication credentials with the request and is not challenged by the server. The SIP server validates the user's credentials. The server returns a response (200 OK) which includes the user's current registration list in Contact headers.
Message Details
F1 REGISTER Bob -> SIP Server
REGISTER sips:ss2.biloxi.example.com SIP/2.0 Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashds7 Max-Forwards: 70 From: Bob <sips:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
>;tag=a73kszlfl To: Bob <sips:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
> Call-ID:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 REGISTER Authorization: Digest username="bob", realm="atlanta.example.com", nonce="df84f1cec4341ae6cbe5ap359a9c8e88", opaque="", uri="sips:ss2.biloxi.example.com", response="aa7ab4678258377c6f7d4be6087e2f60" Content-Length: 0
F2 200 OK SIP Server -> Bob
SIP/2.0 200 OK Via: SIP/2.0/TLS client.biloxi.example.com:5061;branch=z9hG4bKnashds7 ;received=192.0.2.201
From: Bob <sips:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
>;tag=a73kszlfl To: Bob <sips:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
>;tag=jqoiweu75 Call-ID:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
CSeq: 1 REGISTER Contact: <sips:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
>;expires=3600 Contact: <mailto:
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
>;expires=4294967295 Content-Length: 0
|