[SIP Beyond VoIP] Can't get sylkserver sending messages towards XMPP Server
Tihomir Hadzhiev
thadgiev at yahoo.com
Tue Jul 31 17:35:11 CEST 2012
Hi All,
I have a problem with the latest SylkServer 2.0.x-dev where I can't get SIP messages, neither MSRP worked through the SylkServer towards XMPP server. I was trying to find some good documentation on that, but so far nothing. The default configuration files are fairly simple and I believe I had everything configured properly there. What I have currently is a whole working OpenIMS environment where SIP/MSRP messaging works OK. Then I have configured the OpenIMS ENV to route the messages towards the SylkServer which happens btw. However what I see is that the SylkServer tries to route the messages back to the OpenIMS, e.g. does a loop.
Please do advise what exactly might be wrong with the configuration. And exactly need to be configured on the SylkServer to have the triggering and traslation done towards the XMPP server.
I'm using the following command to start SylkServer:
/usr/local/bin$ ./sylk-server /etc/sylkserver/config.ini --no-fork
what I also noticed is that the sylkserver actually is not opening the xmpp logging file:
Starting SylkServer 2.0.0-dev, config=/etc/sylkserver/config.ini
Logging SIP trace to file "/var/log/sylkserver/sip_trace.txt"
Logging MSRP trace to file "/var/log/sylkserver/msrp_trace.txt"
Logging PJSIP trace to file "/var/log/sylkserver/core_trace.txt"
Logging notifications trace to file "/var/log/sylkserver/notifications_trace.txt"
as well I see number of exceptions during the SylkServer startup:
error: Exception occured in observer <sylk.server.SylkServer object at 0x32e0d90> while handling notification 'SIPApplicationDidStart'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/application/notification.py", line 216, in post_notification
observer.handle_notification(notification)
File "<string>", line 1, in handle_notification
File "/usr/lib/pymodules/python2.6/sipsimple/threading/__init__.py", line 102, in wrapper
func(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/sipsimple/application.py", line 335, in handle_notification
handler(notification)
File "/usr/local/lib/python2.6/dist-packages/sylk/server.py", line 224, in _NH_SIPApplicationDidStart
self.request_handler = IncomingRequestHandler()
File "/usr/lib/pymodules/python2.6/application/python/types.py", line 37, in __call__
return cls.__instantiate__(*args, **kw)
File "<string>", line 1, in __init__
File "/usr/lib/pymodules/python2.6/application/python/types.py", line 31, in instance_creator
cls.__instances__[key] = super(Singleton, cls).__call__(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/sylk/applications/__init__.py", line 92, in __init__
load_applications()
File "/usr/local/lib/python2.6/dist-packages/sylk/applications/__init__.py", line 77, in load_applications
map(__import__, app_list)
File "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/__init__.py", line 18, in <module>
from sylk.applications.xmppgateway.im import SIPMessageSender, SIPMessageError, ChatSessionHandler
File "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/im.py", line 27, in <module>
from sylk.applications.xmppgateway.xmpp import XMPPManager
File "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/xmpp/__init__.py", line 13, in <module>
from wokkel.component import InternalComponent, Router as _Router
ImportError: No module named wokkel.component
thanks,
Tiho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20120731/6e3709e9/attachment.html>
More information about the SIPBeyondVoIP
mailing list