<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>Hi, All, Happy new year to all the team 
here.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>Please help me to figure out what is going wrong with 
my openxcap. Thanks in advance.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>I've built up openxcap in debian according to the 
installation guide and the it works as followings info from 
error.log.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>-------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>2009-01-02 02:56:26-0500 [-] Starting OpenXCAP 
1.0.6<BR>2009-01-02 02:56:37-0500 [-] Supported Root URIs: <A 
href="http://192.168.10.10/xcap-root">http://192.168.10.10/xcap-root</A><BR>2009-01-02 
02:56:39-0500 [-] Certificate file 'tls/server.crt' could not be loaded: File 
'tls/server.crt' does not exist<BR>2009-01-02 02:56:39-0500 [-] Private key file 
'tls/server.key' could not be loaded: File 'tls/server.key' does not 
exist<BR>2009-01-02 02:56:39-0500 [-] Trusted peers: 192.168.10.0/24, 
127.0.0.1<BR>2009-01-02 02:56:39-0500 [-] xcap.server.HTTPFactory starting on 
80</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>--------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>The openxcap server is configured to domain 
192.168.10.10 ( local server static&nbsp;IP address ). I also created a test 
account <A href="mailto:alice@192.168.10.10">alice@192.168.10.10</A> with pwd 
123 by python add-openxcap-user.py in scripts.&nbsp; While when I&nbsp;tried the 
python-xcapclient to put a document to the openxcap server, I always encountered 
"401 Unauthorized" for following details -</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>-----------------------------------------------------------------------------------------------------------------------------------</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009>xcap:/opt/python-xcaplib/examples# xcapclient -i 
pres-rules.xml put<BR>put <A 
href="http://192.168.10.10/xcap-root/pres-rules/users/sip:alice@192.168.10.10/index">http://192.168.10.10/xcap-root/pres-rules/users/sip:alice@192.168.10.10/index</A><BR>401 
Unauthorized<BR>content-type: text/html<BR>content-length: 
141<BR>&lt;html&gt;&lt;head&gt;&lt;title&gt;Unauthorized&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;Unauthorized&lt;/h1&gt;&lt;p&gt;You 
are not authorized to access this 
resource.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009>-----------------------------------------------------------------------------------------------------------------------------------</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009>Please refer 
the&nbsp;the access.log and it seems something related my domain 
settings.</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009>-----------------------------------------------------------------------------------------------------------------------------------</SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009>2009-01-01 08:41:08-0500 [-] 192.168.10.10 'PUT 
/xcap-root/pres-rules/users/sip:alice@192.168.10.10/index HTTP/1.1' 401 0 141 
'python-xcaplib/1.0.8' -<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REQUEST 
headers:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Accept-Encoding: 
identity<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
User-Agent: 
python-xcaplib/1.0.8<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Host: 
192.168.10.10<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Content-Type: 
application/x-www-form-urlencoded<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Authorization: Basic YWxpY2U6MTIz<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
RESPONSE 
headers:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Date: Thu, 01 Jan 2009 13:41:08 
GMT<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Content-Type: 
text/html<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
WWW-Authenticate: basic 
realm="192.168.10.10"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Server: OpenXCAP/1.0.6</SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009>-----------------------------------------------------------------------------------------------------------------------------------</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009>Regards</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN class=805071608-02012009><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009>Jun</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009><SPAN 
class=805071608-02012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Arial Narrow" color=#0000ff><SPAN 
class=805071608-02012009></SPAN></FONT>&nbsp;</DIV></BODY></HTML>