Steve Finkelstein
2007-Apr-18 14:36 UTC
[asterisk-users] Asterisk 1.4.2 + Cisco 7960G not registering
Hi all, I've recently upgraded to Asterisk 1.4.2, coming from 1.2.14. Using my existing Cisco 7960G handset(s). I've tried multiple installs of asterisk 1.4.2 with multiple handsets and SIP will not authorize my phone. I'll include some verbose log messages below to show a VALID registration and one where I'm having difficulty registering the phone. Thanks to anyone who can lend a helping hand with this matter or offer any insight on how to further debug. I've gone as far as packet capture and cannot understand why using the same configs will not allow registration of these handsets. - sf ---------------------- Working excerpt: REGISTER sip:10.2.7.2 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1029a1dd From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 Max-Forwards: 70 CSeq: 104 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1029a1dd;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 CSeq: 104 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:6096@10.2.7.2> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1029a1dd;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2>;tag=as010f0581 Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 CSeq: 104 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="3f28f962" Content-Length: 0 REGISTER sip:10.2.7.2 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK2596e8d7 From: <sip:6096@10.2.7.2>;tag=0017e0134094000e1fcda391-7d3d3796 To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940007-0a17f56d-574dda32@10.2.7.254 Max-Forwards: 70 CSeq: 104 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK2596e8d7;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000e1fcda391-7d3d3796 To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940007-0a17f56d-574dda32@10.2.7.254 CSeq: 104 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:6096@10.2.7.2> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK2596e8d7;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000e1fcda391-7d3d3796 To: <sip:6096@10.2.7.2>;tag=as0a5554ff Call-ID: 0017e013-40940007-0a17f56d-574dda32@10.2.7.254 CSeq: 104 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5f5d830d" Content-Length: 0 REGISTER sip:10.2.7.2 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK5153628e From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 Max-Forwards: 70 CSeq: 105 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Authorization: Digest username="6096",realm="asterisk",uri="sip:10.2.7.2",response="6bec57e7aaedd046469fab89b39c024a",nonce="3f28f962",algorithm=MD5 Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK5153628e;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2> Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 CSeq: 105 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Contact: <sip:6096@10.2.7.2> Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK5153628e;received=10.2.7.254 From: <sip:6096@10.2.7.2>;tag=0017e0134094000d045a4ac2-6d217bab To: <sip:6096@10.2.7.2>;tag=as010f0581 Call-ID: 0017e013-40940006-1e1b45e9-2aa6b3d9@10.2.7.254 CSeq: 105 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Expires: 120 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;expires=120 Date: Wed, 18 Apr 2007 16:30:23 GMT Content-Length: 0 NOTIFY sip:6096@10.2.7.254:5060;user=phone;transport=udp SIP/2.0 Via: SIP/2.0/UDP 10.2.7.2:5060;branch=z9hG4bK0bca6ca8;rport From: "asterisk" <sip:asterisk@10.2.7.2>;tag=as6e8de8c0 To: <sip:6096@10.2.7.254:5060;user=phone;transport=udp> Contact: <sip:asterisk@10.2.7.2> Call-ID: 77653628370961324269f47a09464e3c@10.2.7.2 CSeq: 102 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: message-summary Content-Type: application/simple-message-summary Content-Length: 88 Messages-Waiting: no Message-Account: sip:asterisk@10.2.7.2 Voice-Message: 0/0 (0/0) Broken excerpt: REGISTER sip:10.2.5.11 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1c7c333c From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 Max-Forwards: 70 CSeq: 101 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:6096@10.2.5.11> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11>;tag=as1bcacfc3 Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7c9aa295" Content-Length: 0 REGISTER sip:10.2.5.11 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK4aa8977c From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 Max-Forwards: 70 CSeq: 101 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK4aa8977c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:6096@10.2.5.11> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK4aa8977c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11>;tag=as473694c0 Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="129c8c32" Content-Length: 0 REGISTER sip:10.2.5.11 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1c7c333c From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 Max-Forwards: 70 CSeq: 101 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:6096@10.2.5.11> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11>;tag=as1bcacfc3 Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7c9aa295" Content-Length: 0 REGISTER sip:10.2.5.11 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK4aa8977c From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 Max-Forwards: 70 CSeq: 101 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK4aa8977c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:6096@10.2.5.11> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK4aa8977c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e01340940002625b9586-6d83bad9 To: <sip:6096@10.2.5.11>;tag=as473694c0 Call-ID: 0017e013-40940002-098fc216-7207600b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="129c8c32" Content-Length: 0 REGISTER sip:10.2.5.11 SIP/2.0 Via: SIP/2.0/UDP 10.2.7.254:5060;branch=z9hG4bK1c7c333c From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 Max-Forwards: 70 CSeq: 101 REGISTER User-Agent: Cisco-CP7960G/8.0 Contact: <sip:6096@10.2.7.254:5060;user=phone;transport=udp>;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0017e0134094>";+u.sip!model.ccm.cisco.com="7" Content-Length: 0 Expires: 120 SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11> Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: <sip:6096@10.2.5.11> Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 10.2.7.254:50498;branch=z9hG4bK1c7c333c;received=10.2.7.254 From: <sip:6096@10.2.5.11>;tag=0017e0134094000365f7d242-727ac396 To: <sip:6096@10.2.5.11>;tag=as1bcacfc3 Call-ID: 0017e013-40940003-4daaf30d-5193c63b@10.2.7.254 CSeq: 101 REGISTER User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7c9aa295" Content-Length: 0
Doug Lytle
2007-Apr-18 15:56 UTC
[asterisk-users] Asterisk 1.4.2 + Cisco 7960G not registering
Steve Finkelstein wrote:> Hi all, > > I've recently upgraded to Asterisk 1.4.2, coming from 1.2.14. Using my > existing Cisco 7960G handset(s). I've tried multiple installs of > asterisk 1.4.2 with multiple handsets and SIP will not authorize my > > User-Agent: Cisco-CP7960G/8.0 >I was only able to get a stable setup after I moved my 7940 back to SIP version 7.5 Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."