SIP Phone: Registration

Registration: Digest Authentication

Call Flow Diagram Figure C-3shows a SIP IP phone registering with the Redirect server. The User Agent Marshal server is using the Digest authentication method.

SIP Phone

1.REGISTER

2.401

3.REGISTER

6. 200

UA Marshal

 

Redirect Server

 

 

 

4.REGISTER

5.200

 

Figure C-3. Call Flow Diagram: SIP IP Phone Registration — Digest

 

Authentication

Call Trace

 

The following call trace shows a SIP IP phone registering with the Redirect

 

server. The User Agent Marshal server is using the Digest authentication

 

method.

-----------------------------------------------------------------

SIP Headers

-----------------------------------------------------------------

sip-req:

REGISTER sip:192.168.26.180 SIP/2.0

[192.168.26.10:50373-

>192.168.26.180:5060]

 

Header:

Via: SIP/2.0/UDP 192.168.26.10:5060

Header:

From: sip:6711@192.168.26.180

 

Header:

To: sip:6711@192.168.26.180

 

Header:

Call-ID: c2943000-1e262-513-2e323931@192.168.26.10

Header:

CSeq: 100 REGISTER

 

Header:

Contact: <sip:6711@192.168.26.10:5060>

Header:

Expires: 3600

 

Header:

Content-Length: 0

 

-----------------------------------------------------------------

 

SIP Headers

 

-----------------------------------------------------------------

sip-res:

SIP/2.0 401 Unauthorized [192.168.26.180:5060->192.168.26.10:5060]

Header:

Via: SIP/2.0/UDP 192.168.26.10:5060

Header:

From: <sip:6711@192.168.26.180:5060>

Header:

To: <sip:6711@192.168.26.180:5060>

 

Header:

Call-ID: c2943000-1e262-513-2e323931@192.168.26.10

Header:

CSeq: 100 REGISTER

 

Header:

WWW-Authenticate: Digest

 

realm=vovida.com,algorithm=MD5,nonce=966645751

 

Header:

Content-Length: 0

 

-----------------------------------------------------------------

 

SIP Headers

 

-----------------------------------------------------------------

sip-req:

REGISTER sip:192.168.26.180 SIP/2.0

[192.168.26.10:50373-

>192.168.26.180:5060]

 

Header:

Via: SIP/2.0/UDP 192.168.26.10:5060

Header:

From: sip:6711@192.168.26.180

 

Header:

To: sip:6711@192.168.26.180

 

Header:

Call-ID: c2943000-1e262-513-2e323931@192.168.26.10

Header:

CSeq: 101 REGISTER

 

C-6

Page 62
Image 62
Cisco Systems 1.3.0 manual Registration Digest Authentication