In my experience I couldn't get OpenXCAP to work on Ubuntu Intrepid.  It would install and look like it was working, but I would have authentication issues with client PUTs.  Once I spun up an install of Debian 5 and install OpenXCAP my authentication PUT issues went away and everything worked like a champ.  I am sure the PUT authentication had something to do with a package dependency in Ubuntu, but I am not.
<br />
<br />
<br />On May 21, 2009 2:26am, ASHWINI NAIDU &lt;ashwini.naidu@gmail.com&gt; wrote:
<br />&gt; Server monitor,
<br />&gt; 
<br />&gt; As per i know i haven&#39;t found anything other than openxcap. i have also got it working till where you have achieved on debian 4, CENTOS 5. Actually with debian 5 everything is working working fine including the put,get and delete methods with openxcap and sip-simple client. But still on my way to discover how to use it properly.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On Thu, May 21, 2009 at 11:10 AM, server monitor sms.server.monitoring@gmail.com&gt; wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; Thanks Aswini, is there any scenario in which openxcap will run?
<br />&gt; 
<br />&gt; Is there another project out there that will let you test presence docs and resource lists?
<br />&gt; 
<br />&gt; I have managed to get everything to compile on Fedora core and very hesitant to start experimenting with mysqldb. 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Does anyone have any insight?
<br />&gt; 
<br />&gt; Thanks,
<br />&gt; Rob
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On Wed, May 20, 2009 at 10:24 PM, ASHWINI NAIDU ashwini.naidu@gmail.com&gt; wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; hi server monitor,
<br />&gt; 
<br />&gt;     This error is becos of the python-mysqldb which you are using doesn&#39;t support the kind of stream data you are trying to send. If the python-mysqldb(which supports and clears the following errors)  is upgraded there is a reconnect error. i am yet to find the solution for this. if you find the solution please let me know.
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; On Thu, May 21, 2009 at 5:14 AM, server monitor sms.server.monitoring@gmail.com&gt; wrote:
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Hi All, testing a new OpenSips(1.6.0dev0-notls (i386/linux) and OpenXCAP Server using xcapclient and contained examples. 
<br />&gt; 
<br />&gt; pres-rules PUT looks good:
<br />&gt; 
<br />&gt; [root@y examples]# xcapclient -i pres-rules.xml put
<br />&gt; put http://x.y.com/xcap-root/pres-rules/users/sip:8888888888@x.y.com/index
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 200 OK
<br />&gt; etag: &quot;110ff8cd75ce541886107061f70c36ff&quot;
<br />&gt; content-type: application/auth-policy+xml
<br />&gt; 
<br />&gt; pres-rules GET returns the following error:
<br />&gt; 
<br />&gt; [root@y examples]# xcapclient --app pres-rules get
<br />&gt; get http://x.y.com/xcap-root/pres-rules/users/sip:8888888888@x.y.com/index
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 500 Internal Server Error
<br />&gt; content-type: text/plain
<br />&gt; content-length: 96
<br />&gt; An error occurred while processing the request. More information is available in the server log.
<br />&gt; 
<br />&gt; Log trace:
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: 192.168.1.103 &#39;GET /xcap-root/pres-rules/users/sip:8888888888@x.y.com/index HTTP/1.1&#39; 500 0 96 &#39;python-xcaplib/1.0.9&#39; -
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: RESPONSE headers:
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011Content-Type: text/plain
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: TRACEBACK (most recent call last):
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/internet/base.py&quot;, line 1137, in mainLoop
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    self.runUntilCurrent()
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/internet/base.py&quot;, line 729, in runUntilCurrent
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    f(*a, **kw)
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/internet/defer.py&quot;, line 243, in callback
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    self._startRunCallbacks(result)
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/internet/defer.py&quot;, line 312, in _startRunCallbacks
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    self._runCallbacks()
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011---  ---
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/internet/defer.py&quot;, line 328, in _runCallbacks
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    self.result = callback(self.result, *args, **kw)
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/xcap/resource.py&quot;, line 47, in sendResponse
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    response = http.Response(response.code, stream=response.data)
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011  File &quot;/usr/lib/python2.5/site-packages/twisted/web2/http.py&quot;, line 109, in __init__
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011    self.stream = IByteStream(stream)
<br />&gt; May 20 07:07:55 localhost openxcap[8994]: error: #011exceptions.TypeError: (&#39;Could not adapt&#39;, array(&#39;c&#39;, &#39;\r\ncommon-policy&quot; xmlns:pr=&quot;urn:ietf:params:xml:ns:pres-rules&quot; xmlns:cp=&quot;www.counterpath.com/privacy-lists&quot;&gt;\r\n\r\nconditions&gt;\r\n\r\none id=&quot;sip:bob@example.com&quot;/&gt;\r\nsip:alice@example.com&quot;/&gt;\r\nag-projects.com&quot;&gt;\r\n/many&gt;\r\n\r\nconditions&gt;\r\n\r\npr:sub-handling&gt;allowhandling&gt;\r\n\r\ntransformations&gt;\r\nprovide-services&gt;\r\nservices/&gt;\r\nservices&gt;\r\npersons&gt;\r\n\r\n\r\npr:provide-devices&gt;\r\nall-devices/&gt;\r\ndevices&gt;\r\nattributes/&gt;\r\ntransformations&gt;\r\n\r\n\r\nconditions&gt;\r\n\r\none id=&quot;sip:40316600024@abc.com&quot;/&gt;\r\n\r\nconditions&gt;\r\n\r\npr:sub-handling&gt;blockhandling&gt;\r\n\r\ntransformations/&gt;\r\n\r\n&#39;), IByteStream&gt;)
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; Thanks for any clues,
<br />&gt; Rob
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; _______________________________________________
<br />&gt; 
<br />&gt; 
<br />&gt; Users mailing list
<br />&gt; 
<br />&gt; 
<br />&gt; Users@lists.opensips.org
<br />&gt; 
<br />&gt; 
<br />&gt; http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; -- 
<br />&gt; Thanking You,
<br />&gt; Ashwini BR Naidu
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; 
<br />&gt; -- 
<br />&gt; Thanking You,
<br />&gt; Ashwini BR Naidu
<br />&gt; 
<br />&gt; 
<br />&gt;