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 <ashwini.naidu@gmail.com> wrote:
<br />> Server monitor,
<br />>
<br />> As per i know i haven'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 />>
<br />>
<br />>
<br />>
<br />> On Thu, May 21, 2009 at 11:10 AM, server monitor sms.server.monitoring@gmail.com> wrote:
<br />>
<br />>
<br />> Thanks Aswini, is there any scenario in which openxcap will run?
<br />>
<br />> Is there another project out there that will let you test presence docs and resource lists?
<br />>
<br />> I have managed to get everything to compile on Fedora core and very hesitant to start experimenting with mysqldb.
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Does anyone have any insight?
<br />>
<br />> Thanks,
<br />> Rob
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> On Wed, May 20, 2009 at 10:24 PM, ASHWINI NAIDU ashwini.naidu@gmail.com> wrote:
<br />>
<br />>
<br />>
<br />>
<br />> hi server monitor,
<br />>
<br />> This error is becos of the python-mysqldb which you are using doesn'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 />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> On Thu, May 21, 2009 at 5:14 AM, server monitor sms.server.monitoring@gmail.com> wrote:
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Hi All, testing a new OpenSips(1.6.0dev0-notls (i386/linux) and OpenXCAP Server using xcapclient and contained examples.
<br />>
<br />> pres-rules PUT looks good:
<br />>
<br />> [root@y examples]# xcapclient -i pres-rules.xml put
<br />> put http://x.y.com/xcap-root/pres-rules/users/sip:8888888888@x.y.com/index
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> 200 OK
<br />> etag: "110ff8cd75ce541886107061f70c36ff"
<br />> content-type: application/auth-policy+xml
<br />>
<br />> pres-rules GET returns the following error:
<br />>
<br />> [root@y examples]# xcapclient --app pres-rules get
<br />> get http://x.y.com/xcap-root/pres-rules/users/sip:8888888888@x.y.com/index
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> 500 Internal Server Error
<br />> content-type: text/plain
<br />> content-length: 96
<br />> An error occurred while processing the request. More information is available in the server log.
<br />>
<br />> Log trace:
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: 192.168.1.103 'GET /xcap-root/pres-rules/users/sip:8888888888@x.y.com/index HTTP/1.1' 500 0 96 'python-xcaplib/1.0.9' -
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: RESPONSE headers:
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011Content-Type: text/plain
<br />> May 20 07:07:55 localhost openxcap[8994]: error: TRACEBACK (most recent call last):
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 1137, in mainLoop
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 self.runUntilCurrent()
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 729, in runUntilCurrent
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 f(*a, **kw)
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 243, in callback
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 self._startRunCallbacks(result)
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 self._runCallbacks()
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011--- ---
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 self.result = callback(self.result, *args, **kw)
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/xcap/resource.py", line 47, in sendResponse
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 response = http.Response(response.code, stream=response.data)
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 File "/usr/lib/python2.5/site-packages/twisted/web2/http.py", line 109, in __init__
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011 self.stream = IByteStream(stream)
<br />> May 20 07:07:55 localhost openxcap[8994]: error: #011exceptions.TypeError: ('Could not adapt', array('c', '\r\ncommon-policy" xmlns:pr="urn:ietf:params:xml:ns:pres-rules" xmlns:cp="www.counterpath.com/privacy-lists">\r\n\r\nconditions>\r\n\r\none id="sip:bob@example.com"/>\r\nsip:alice@example.com"/>\r\nag-projects.com">\r\n/many>\r\n\r\nconditions>\r\n\r\npr:sub-handling>allowhandling>\r\n\r\ntransformations>\r\nprovide-services>\r\nservices/>\r\nservices>\r\npersons>\r\n\r\n\r\npr:provide-devices>\r\nall-devices/>\r\ndevices>\r\nattributes/>\r\ntransformations>\r\n\r\n\r\nconditions>\r\n\r\none id="sip:40316600024@abc.com"/>\r\n\r\nconditions>\r\n\r\npr:sub-handling>blockhandling>\r\n\r\ntransformations/>\r\n\r\n'), IByteStream>)
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> Thanks for any clues,
<br />> Rob
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> _______________________________________________
<br />>
<br />>
<br />> Users mailing list
<br />>
<br />>
<br />> Users@lists.opensips.org
<br />>
<br />>
<br />> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> --
<br />> Thanking You,
<br />> Ashwini BR Naidu
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />>
<br />> --
<br />> Thanking You,
<br />> Ashwini BR Naidu
<br />>
<br />>
<br />>