Hi Larson,<br><br>Thanks for reply.<br>As you said, I commented (enable_publish_xcapdiff=yes). Now Server is running. But giving the following warning.<br>**********************************************************************************************************************************************<br>
Starting OpenXCAP 1.0.7<br><b> warning: XCAP Root URI rejected: '<a href="http://192.168.1.130/xcap-root">http://192.168.1.130/xcap-root</a>\nbackend = OpenSIPS' (looks like '<a href="http://192.168.1.130/xcap-root">http://192.168.1.130/xcap-root</a>')</b><br>
Supported Root URIs: <a href="http://192.168.1.130/xcap-root">http://192.168.1.130/xcap-root</a><br>xcap.server.HTTPFactory starting on 9222<br>**********************************************************************************************************************************************<br>
I enabled backend=OpenSIPS.<br>When I try to test the functionality of OpenXCAP with ./test.py, it is saying as follows.<br><br><b>Please specify XCAP root with --xcap-root. You can also put the default root in /root/.sipclient/config.ini.</b><br clear="all">
<br>However, I put xcap-root at /root/.sipclient/config.ini as specified below, before itself.<br><br><b>[Account_Jp]<br>sip_address=<a href="mailto:Jp@dev.ongobiz.com">Jp@dev.ongobiz.com</a><br>password=jp123<br>xcap_root = <a href="http://192.168.1.130:9222/xcap-root">http://192.168.1.130:9222/xcap-root</a><br>
<br></b>What the issue might me?<br><br>Thanks<br>JayaPrakash<br>
<br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 8:44 PM, <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jaya,
<br>
<br>I believe I ran into the same issue. it is because you have (enable_publish_xcapdiff = yes) enabled in your openxcap config.
<br>Comment that out and see if Openxcap starts. I don't know why it causes that. I want to enable it, but it gives me the same error.
<br><div class="im">
<br>On Apr 3, 2009 8:21am, JayaPrakash <<a href="mailto:jp.manchu@gmail.com" target="_blank">jp.manchu@gmail.com</a>> wrote:
<br>> Hi All,
<br>> I have installed Opensips 1.5 in Debian 5.
<br>> OpenXCAP 1.0.7, soap-simple-proxy 1.0.5 and opensips-mi-proxy 1.0.2 are installed and configured.
<br>>
<br>> OpenXCAP's backend is set to opensips as described below.
<br>>
<br>>
<br>> ****************************************************************************************************************
<br>> ; The backend to be used for storage and authentication. Current supported
<br>> ; values are Database and OpenSER. OpenSER backend inherits all the settings
<br>>
<br>>
<br>> ; from the Database backend but performs extra actions related to the
<br>> ; integration with OpenSER for which it read the settings from [OpenSER]
<br>> ; section
<br>> backend = OpenSIPS.
<br>> ****************************************************************************************************************
<br>>
<br>>
<br>>
<br>>
<br>> When OpenXCAP is try to start, it has given the following fatal error, saying there is no module named opensips. Opensips didn't start.
<br>> **********************************************************backend=OpenSIPS*********************************************************
<br>>
<br>>
<br>> Log opened.
<br>> debian openxcap[22480]: Starting OpenXCAP 1.0.7
<br>> debian openxcap[22480]: fatal error: Cannot load 'opensips' backend module: No module named opensips
<br>>
<br>>
<br>> To correct this I changed the backend name to OpenSER. Then It has given the following errors.
<br>>
<br>>
<br>> *********************************************************backend=OpenSER************************************************************
<br>> Log opened.
<br>> Apr 3 17:04:09 debian openxcap[22429]: Starting OpenXCAP 1.0.7
<br>> Apr 3 17:04:09 debian openxcap[22429]: Supported Root URIs: <a href="http://192.168.1.130/xcap-root" target="_blank">http://192.168.1.130/xcap-root</a>
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: Traceback (most recent call last):
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/bin/openxcap", line 55, in
<br></div><div class="im">> Apr 3 17:04:09 debian openxcap[22429]: error: from xcap.server import XCAPServer
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/xcap/server.py", line 17, in
<br></div><div class="im">> Apr 3 17:04:09 debian openxcap[22429]: error: from xcap import authentication
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 22, in
<br></div><div class="im">> Apr 3 17:04:09 debian openxcap[22429]: error: from xcap.appusage import getApplicationForURI, namespaces
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/xcap/appusage/__init__.py", line 514, in
<br></div><div class="im">> Apr 3 17:04:09 debian openxcap[22429]: error: theStorage = ServerConfig.backend.Storage()
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/application/python/util.py", line 35, in __call__
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: return cls._instance_creator(*args, **kw)
<br>>
<br>>
<br></div>> Apr 3 17:04:09 debian openxcap[22429]: error: File "", line 1, in __init__
<br><div class="im">> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/application/python/util.py", line 29, in instance_creator
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: cls._instances[key] = super(Singleton, cls).__call__(*args, **kwargs)
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/xcap/interfaces/backend/openser.py", line 56, in __init__
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: self.notifier = Notifier(root_uris[0], ManagementInterface().publish_xcapdiff)
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: File "/usr/lib/python2.5/site-packages/application/python/util.py", line 35, in __call__
<br>>
<br>>
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: return cls._instance_creator(*args, **kw)
<br>> Apr 3 17:04:09 debian openxcap[22429]: error: TypeError: __init__() takes exactly 2 arguments (1 given)
<br>>
<br>> I had issues while running Soap-simple-proxy too..
<br>>
<br>>
<br>> *******************************************************************************************************************************************8
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: Log opened.
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: Starting Soap SIMPLE Proxy web service 1.0.5
<br>>
<br>>
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: Traceback (most recent call last):
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: File "/usr/bin/soap-simple-proxy", line 56, in
<br>>
<br>>
<br></div><div class="im">> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: from ssp.soap.engine import SOAPServer
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: File "/usr/lib/python2.5/site-packages/ssp/soap/engine.py", line 6, in
<br>>
<br>>
<br></div><div class="im">> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: from ssp.soap import tweaks
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: File "/usr/lib/python2.5/site-packages/ssp/soap/tweaks.py", line 5, in
<br>>
<br>>
<br></div><div><div></div><div class="h5">> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: from SOAPpy.Config import Config
<br>> Apr 3 17:40:31 debian soap-simple-proxy[22701]: error: ImportError: No module named SOAPpy.Config
<br>>
<br>> Will you please suggest me how to correct these.
<br>>
<br>>
<br>>
<br>> Thanks
<br>> JayaPrakash
<br>>
<br>>
<br>></div></div></blockquote></div><br>