Hello All,
I am trying to get some ATA 188 units to register with my Asterisk box over SIP.  I continue to get the same "401 Unauthorized"  Error when they try to register.  If I turn Sip registration off, I can use the phones without any problems with a static IP assigned in my sip.conf file, but I can't get the second phone port working.  I've set up two separate logins both pointing to the same ATA IP address, and both of them only ring phone1 on the ATA.  Below is my config.  Any help would be greatly appreciated. 
 
[2232121]
type=friend
username=2232121
secret=voip
host=172.16.0.28
context=default
reinvite=no
canreinvite=no
 
[2232122]
type=friend
username=2232122
secret=voip
host=172.16.0.28
context=default
reinvite=no
canreinvite=no
 
Here are the debug files.
 
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as79088a75
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as0391e8fc
Call-ID: [EMAIL PROTECTED]
CSeq: 1 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as01a85c0b
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as3da9516a
Call-ID: [EMAIL PROTECTED]
CSeq: 2 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 3 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as6f9879ac
Call-ID: [EMAIL PROTECTED]
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 3 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as4f83c0f2
Call-ID: [EMAIL PROTECTED]
CSeq: 3 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 4 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=826830340
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as4a71a7ff
Call-ID: [EMAIL PROTECTED]
CSeq: 4 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
Sip read: LI>
REGISTER sip:172.16.0.30 SIP/2.0
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 4 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
User-Agent: Cisco ATA 188  v2.16.1 ata18x (030709a)
Content-Length: 0
 

9 headers, 0 lines
Using latest request as basis request
Sending to 172.16.0.28 : 5060 (non-NAT)
Transmitting (no NAT):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.16.0.28:5060
From: <sip:[EMAIL PROTECTED];user=phone>;tag=200124422
To: <sip:[EMAIL PROTECTED];user=phone>;tag=as2c81018f
Call-ID: [EMAIL PROTECTED]
CSeq: 4 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 0
 

 to 172.16.0.28:5060
talktome*CLI>
 
Sorry about the length of the message.  By the way, Asterisk kicks butt!
 
Sincerely, Don LeBlanc
Systems Admin
North Texas Web Services
 
 

Reply via email to