Hi Friends,
While i am trying to connect Cisco IP Phone to Asterisk server, the IP Phone is not able to register with server.
I enabled SIP SET DEBUG ON. i got the following debug messages.
<— SIP read from UDP:192.168.1.12:50201 —>
REGISTER sip:192.168.1.162 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
Max-Forwards: 70
CSeq: 101 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: sip:121@192.168.1.12:5060;user=phone;transport=udp;+sip.instance=“urn:uuid:00000000-0000-0000-0000-001a2f53cae1”;+u.sip!model.ccm.cisco.com="7"
Content-Length: 0
Expires: 120
<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.12 : 5060 (no NAT)
<— Transmitting (no NAT) to 192.168.1.12:50201 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470;received=192.168.1.12
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162;tag=as035ecbac
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.18
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7d3d7b6e"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:192.168.1.12:50201 —>
REGISTER sip:192.168.1.162 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
Max-Forwards: 70
CSeq: 101 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: sip:121@192.168.1.12:5060;user=phone;transport=udp;+sip.instance=“urn:uuid:00000000-0000-0000-0000-001a2f53cae1”;+u.sip!model.ccm.cisco.com="7"
Content-Length: 0
Expires: 120
<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.12 : 5060 (no NAT)
<— Transmitting (no NAT) to 192.168.1.12:50201 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470;received=192.168.1.12
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162;tag=as035ecbac
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.18
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7d3d7b6e"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:192.168.1.12:50201 —>
REGISTER sip:192.168.1.162 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
Max-Forwards: 70
CSeq: 101 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: sip:121@192.168.1.12:5060;user=phone;transport=udp;+sip.instance=“urn:uuid:00000000-0000-0000-0000-001a2f53cae1”;+u.sip!model.ccm.cisco.com="7"
Content-Length: 0
Expires: 120
<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.12 : 5060 (no NAT)
<— Transmitting (no NAT) to 192.168.1.12:50201 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470;received=192.168.1.12
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162;tag=as035ecbac
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.18
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7d3d7b6e"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:192.168.1.12:50201 —>
REGISTER sip:192.168.1.162 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
Max-Forwards: 70
CSeq: 101 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: sip:121@192.168.1.12:5060;user=phone;transport=udp;+sip.instance=“urn:uuid:00000000-0000-0000-0000-001a2f53cae1”;+u.sip!model.ccm.cisco.com="7"
Content-Length: 0
Expires: 120
<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.12 : 5060 (no NAT)
<— Transmitting (no NAT) to 192.168.1.12:50201 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470;received=192.168.1.12
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162;tag=as035ecbac
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.18
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7d3d7b6e"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12’ in 32000 ms (Method: REGISTER)
<— SIP read from UDP:192.168.1.12:50201 —>
REGISTER sip:192.168.1.162 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
Max-Forwards: 70
CSeq: 101 REGISTER
User-Agent: Cisco-CP7960G/8.0
Contact: sip:121@192.168.1.12:5060;user=phone;transport=udp;+sip.instance=“urn:uuid:00000000-0000-0000-0000-001a2f53cae1”;+u.sip!model.ccm.cisco.com="7"
Content-Length: 0
Expires: 120
<------------->
— (11 headers 0 lines) —
Sending to 192.168.1.12 : 5060 (no NAT)
<— Transmitting (no NAT) to 192.168.1.12:50201 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.12:5060;branch=z9hG4bK43540470;received=192.168.1.12
From: sip:121@192.168.1.162;tag=001a2f53cae100022e9e94bf-04650c1f
To: sip:121@192.168.1.162;tag=as035ecbac
Call-ID: 001a2f53-cae10002-452f4e9b-3f9ab967@192.168.1.12
CSeq: 101 REGISTER
Server: Asterisk PBX 1.6.2.18
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="7d3d7b6e"
Content-Length: 0
Can any one tell me what might be wrong in registration.
Regards,
Nagavardhan.