<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Unauthorized 401</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Courier New">Hi, </FONT>
<BR><FONT SIZE=2 FACE="Courier New">I'm trying to register SIP phone with an asterisk serve, failing miserably. The server is sending "401 Unauthorized" responses to the registration attempts, but every time the phone is re-REGISTERing without authorization. I'd think this was a problem with the IP phone, except... the very same phone registers correctly (authenticated) with another asterisk box, same brand, similarly configured.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">The phone is a Leadtek BVP 8882 videophone. The "bad" asterisk server has the following build info, but I haven't seen any bug reports for this problem...</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">Linux aadk 2.6.16.27sx00i-1.0.3.1 #2 Thu Aug 30 13:18:42 CDT 2007 blackfin unknown</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Asterisk Build:</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Asterisk autotag_for_sx00i-1.0.3 (sx00i 1.0.3.1)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Asterisk GUI-version Revision: 1453 $</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New">I'm wondering if the "401 unauthorized" response has bad formatting. I compared the "bad" asterisk server repeated response, with the "good" asterisk server first response (the phone includes authorization in subsequent REGISTER for that one). The only difference I can see, is that the "bad" asterisk responses have a blank "Access-URL:" line before "WWW-Authenticate".</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">I've included log from the "bad" asterisk server. If necessary I can provide one from the good server as well, but I've left it out for now to avoid confusion.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">Asterisk Business Edition autotag_for_sx00i-1.0.3 (sx00i 1.0.3.1), Copyright (C) 1999 - 2007 Digium, Inc. and others.</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Created by Mark Spencer</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Thank you for using Business Edition. This Software is provided by Digium Inc </FONT>
<BR><FONT SIZE=2 FACE="Courier New">under license. Please refer to the license agreement provided with the Software. </FONT>
<BR><FONT SIZE=2 FACE="Courier New">===============================================================================</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Connected to Asterisk autotag_for_sx00i-1.0.3 (sx00i 1.0.3.1) currently running on aadk (pid = 304)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">aadk*CLI> sip debug</FONT>
<BR><FONT SIZE=2 FACE="Courier New">aadk*CLI> SIP Debugging enabled</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> The 'sip debug' command is deprecated and will be removed in a future release. Please use 'sip set debug' instead.</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> core set debug 255</FONT>
<BR><FONT SIZE=2 FACE="Courier New">aadk*CLI> Core debug was 0 and is now 255</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> core set verbose 255</FONT>
<BR><FONT SIZE=2 FACE="Courier New">aadk*CLI> Verbosity was 0 and is now 255</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><--- SIP read from 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">REGISTER sip:asterisk.foo.internal SIP/2.0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: sip:6001@192.168.220.31:5060</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Max-Forwards: 70</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: LRSTD LR8882 2.5.00_99</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Expires: 300</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><-------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">--- (11 headers 0 lines) ---</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Using latest REGISTER request as basis request</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Sending to 192.168.220.31 : 5060 (no NAT)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 100 Trying</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: <sip:6001@192.168.224.91></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 401 Unauthorized</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal>;tag=as1aa11ae2</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="141ab0a6"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> Scheduling destruction of SIP dialog '2000fb00-4bca-c0a8efe3@asterisk.foo.internal' in 32000 ms (Method: REGISTER)</FONT></P>
<P><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><--- SIP read from 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">REGISTER sip:asterisk.foo.internal SIP/2.0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: sip:6001@192.168.220.31:5060</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Max-Forwards: 70</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: LRSTD LR8882 2.5.00_99</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Expires: 300</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><-------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">--- (11 headers 0 lines) ---</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Using latest REGISTER request as basis request</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Sending to 192.168.220.31 : 5060 (no NAT)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 100 Trying</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: <sip:6001@192.168.224.91></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 401 Unauthorized</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal>;tag=as1aa11ae2</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="141ab0a6"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Scheduling destruction of SIP dialog '2000fb00-4bca-c0a8efe3@asterisk.foo.internal' in 32000 ms (Method: REGISTER)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><--- SIP read from 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">REGISTER sip:asterisk.foo.internal SIP/2.0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: sip:6001@192.168.220.31:5060</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Max-Forwards: 70</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: LRSTD LR8882 2.5.00_99</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Expires: 300</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><-------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">--- (11 headers 0 lines) ---</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Using latest REGISTER request as basis request</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Sending to 192.168.220.31 : 5060 (no NAT)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 100 Trying</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: <sip:6001@192.168.224.91></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 401 Unauthorized</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal>;tag=as1aa11ae2</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="141ab0a6"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Scheduling destruction of SIP dialog '2000fb00-4bca-c0a8efe3@asterisk.foo.internal' in 32000 ms (Method: REGISTER)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><--- SIP read from 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">REGISTER sip:asterisk.foo.internal SIP/2.0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: sip:6001@192.168.220.31:5060</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Max-Forwards: 70</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: LRSTD LR8882 2.5.00_99</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Expires: 300</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><-------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">--- (11 headers 0 lines) ---</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Using latest REGISTER request as basis request</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Sending to 192.168.220.31 : 5060 (no NAT)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 100 Trying</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: <sip:6001@192.168.224.91></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 401 Unauthorized</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal>;tag=as1aa11ae2</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="141ab0a6"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Scheduling destruction of SIP dialog '2000fb00-4bca-c0a8efe3@asterisk.foo.internal' in 32000 ms (Method: REGISTER)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">[Kaadk*CLI> </FONT>
<BR><FONT SIZE=2 FACE="Courier New"><--- SIP read from 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">REGISTER sip:asterisk.foo.internal SIP/2.0</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: sip:6001@192.168.220.31:5060</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Max-Forwards: 70</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: LRSTD LR8882 2.5.00_99</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Expires: 300</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><-------------></FONT>
<BR><FONT SIZE=2 FACE="Courier New">--- (11 headers 0 lines) ---</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Using latest REGISTER request as basis request</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Sending to 192.168.220.31 : 5060 (no NAT)</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 100 Trying</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Contact: <sip:6001@192.168.224.91></FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"><------------></FONT>
</P>
<P><FONT SIZE=2 FACE="Courier New"><--- Transmitting (no NAT) to 192.168.220.31:5060 ---></FONT>
<BR><FONT SIZE=2 FACE="Courier New">SIP/2.0 401 Unauthorized</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Via: SIP/2.0/UDP 192.168.220.31:5060;branch=z9hG4bKc0a8efe310007f004bce;received=192.168.220.31</FONT>
<BR><FONT SIZE=2 FACE="Courier New">From: 6001<sip:6001@asterisk.foo.internal>;tag=10007c00-4bc9</FONT>
<BR><FONT SIZE=2 FACE="Courier New">To: 6001<sip:6001@asterisk.foo.internal>;tag=as1aa11ae2</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Call-ID: 2000fb00-4bca-c0a8efe3@asterisk.foo.internal</FONT>
<BR><FONT SIZE=2 FACE="Courier New">CSeq: 101 REGISTER</FONT>
<BR><FONT SIZE=2 FACE="Courier New">User-Agent: Asterisk PBX</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Supported: replaces</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Access-URL: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="141ab0a6"</FONT>
<BR><FONT SIZE=2 FACE="Courier New">Content-Length: 0</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any suggestions are welcome. I am frustrated as there is no reason I can tell why the phone won't recognize need to authorize with one server, but works fine with another.</FONT></P>
</BODY>
</HTML>