<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1264" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am trying to get some ATA 188 units to register 
with my Asterisk box over SIP.&nbsp; I continue to get the same "401 
Unauthorized"&nbsp; Error when they try to register.&nbsp; 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.&nbsp; 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.&nbsp; Below is my 
config.&nbsp; Any help would be greatly appreciated.&nbsp; </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>[2232121]<BR>type=friend<BR>username=2232121<BR>secret=voip<BR>host=172.16.0.28<BR>context=default<BR>reinvite=no<BR>canreinvite=no</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>[2232122]<BR>type=friend<BR>username=2232122<BR>secret=voip<BR>host=172.16.0.28<BR>context=default<BR>reinvite=no<BR>canreinvite=no</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here are the debug files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Sip read: LI&gt; <BR>REGISTER sip:172.16.0.30 
SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 1 
REGISTER<BR>Contact: 
&lt;sip:2232121@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=as79088a75<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 1 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232121@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 1 
REGISTER<BR>Contact: 
&lt;sip:2232122@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=as0391e8fc<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 1 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232122@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 2 
REGISTER<BR>Contact: 
&lt;sip:2232121@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=as01a85c0b<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 2 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232121@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 2 
REGISTER<BR>Contact: 
&lt;sip:2232122@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=as3da9516a<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 2 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232122@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 3 
REGISTER<BR>Contact: 
&lt;sip:2232121@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=as6f9879ac<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 3 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232121@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 3 
REGISTER<BR>Contact: 
&lt;sip:2232122@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=as4f83c0f2<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 3 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232122@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 4 
REGISTER<BR>Contact: 
&lt;sip:2232121@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=826830340<BR>To: 
&lt;sip:2232121@172.16.0.30;user=phone&gt;;tag=as4a71a7ff<BR>Call-ID: <A 
href="mailto:980168906@172.16.0.28">980168906@172.16.0.28</A><BR>CSeq: 4 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232121@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>Sip read: LI&gt; <BR>REGISTER 
sip:172.16.0.30 SIP/2.0<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 4 
REGISTER<BR>Contact: 
&lt;sip:2232122@172.16.0.28:5060;user=phone;transport=udp&gt;;expires=3600<BR>User-Agent: 
Cisco ATA 188&nbsp; v2.16.1 ata18x (030709a)<BR>Content-Length: 0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>9 headers, 0 lines<BR>Using latest request as basis request<BR>Sending 
to 172.16.0.28 : 5060 (non-NAT)<BR>Transmitting (no NAT):<BR>SIP/2.0 401 
Unauthorized<BR>Via: SIP/2.0/UDP 172.16.0.28:5060<BR>From: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=200124422<BR>To: 
&lt;sip:2232122@172.16.0.30;user=phone&gt;;tag=as2c81018f<BR>Call-ID: <A 
href="mailto:945895659@172.16.0.28">945895659@172.16.0.28</A><BR>CSeq: 4 
REGISTER<BR>User-Agent: Asterisk PBX<BR>Allow: INVITE, ACK, CANCEL, OPTIONS, 
BYE, REFER<BR>Contact: &lt;sip:2232122@172.16.0.30&gt;<BR>Content-Length: 
0</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;to 172.16.0.28:5060<BR>talktome*CLI&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Sorry about the length of the message.&nbsp; By the way, Asterisk kicks 
butt!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Sincerely, Don LeBlanc</DIV>
<DIV>Systems Admin</DIV>
<DIV>North Texas Web Services</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>