Hi all<br><br>I'm just a newbie with OpenSIPS, but I got it working fine. The problem is that I need to connect it with OpenXCAP, and I can't find a way to make it work, even alone. When I try to run OpenXCAP by itself, with the xmlrpc_url line commented in the config file, I get this error:<br>
<br>Starting OpenXCAP 1.1.2<br>fatal error: failed to create OpenXCAP 1.1.2: unsupported operand type(s) for +: 'NoneType' and 'str'<br>Traceback (most recent call last):<br> File "/usr/bin/openxcap", line 61, in <module><br>
from xcap.server import XCAPServer<br> File "/usr/lib/python2.5/site-packages/xcap/server.py", line 18, in <module><br> from xcap import authentication<br> File "/usr/lib/python2.5/site-packages/xcap/authentication.py", line 23, in <module><br>
from xcap.appusage import getApplicationForURI, namespaces<br> File "/usr/lib/python2.5/site-packages/xcap/appusage/__init__.py", line 515, in <module><br> theStorage = ServerConfig.backend.Storage()<br>
File "/usr/lib/pymodules/python2.5/application/python/util.py", line 35, in __call__<br> return cls._instance_creator(*args, **kw)<br> File "<string>", line 1, in __init__<br> File "/usr/lib/pymodules/python2.5/application/python/util.py", line 29, in instance_creator<br>
cls._instances[key] = super(Singleton, cls).__call__(*args, **kwargs)<br> File "/usr/lib/python2.5/site-packages/xcap/interfaces/backend/opensips.py", line 40, in __init__<br> self._mi = ManagementInterface(Config.xmlrpc_url)<br>
File "/usr/lib/pymodules/python2.5/application/python/util.py", line 35, in __call__<br> return cls._instance_creator(*args, **kw)<br> File "<string>", line 1, in __init__<br> File "/usr/lib/pymodules/python2.5/application/python/util.py", line 29, in instance_creator<br>
cls._instances[key] = super(Singleton, cls).__call__(*args, **kwargs)<br> File "/usr/lib/python2.5/site-packages/xcap/interfaces/opensips.py", line 54, in __init__<br> self.proxy = xmlrpc.Proxy(url + '/RPC2')<br>
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'<br><br>And, of course, when I get this line uncommented I get a segmentation fault. <br>It looks like that module needs the url string, but when it has, then OpenXCAP crashes suddenly, and I get no clue on why has failed. Anyway, OpenSIPS works properly, with xml_rpc module running as well. I hope it has an easy solution.<br>
<br>Thanks a million in advance<br><br>Pablo<br>