<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Hi Tihomir,</div><div><br></div><div>When installing SylkServer from development branch you must install manually the required dependencies:</div><div><br></div><div> * python-sipsimple (>= 0.20.0) <a href="http://sipsimpleclient.com">http://sipsimpleclient.com</a></div><div> * python-sqlobject (>= 0.12.4)</div><div> * python-twisted-words</div><div> * python-wokkel</div></div><div><br></div><div>Regards,</div><div>Adrian</div><div><div><div><br><div><div>On Jul 31, 2012, at 5:35 PM, Tihomir Hadzhiev wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi All, </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">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. </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">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. </div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I'm using the following command to start SylkServer:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">/usr/local/bin$ ./sylk-server
 /etc/sylkserver/config.ini --no-fork</span><br></div><div><span style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">what I also noticed is that the sylkserver actually is not opening the xmpp logging file:</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;"><br></span></div><div><span><div><span style="font-family: 'times new roman', 'new york', times, serif;">Starting SylkServer 2.0.0-dev, config=/etc/sylkserver/config.ini</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">Logging SIP trace to file "/var/log/sylkserver/sip_trace.txt"</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">Logging MSRP trace to file "/var/log/sylkserver/msrp_trace.txt"</span></div><div><span style="font-family: 'times new roman', 'new york', times,
 serif;">Logging PJSIP trace to file "/var/log/sylkserver/core_trace.txt"</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">Logging notifications trace to file "/var/log/sylkserver/notifications_trace.txt"</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">as well  I see number of exceptions during the SylkServer startup:</div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div><div><span style="font-family: 'times new roman', 'new york', times, serif;">error: Exception occured in observer <sylk.server.SylkServer object at 0x32e0d90> while handling notification 'SIPApplicationDidStart'</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">Traceback (most recent call last):</span></div><div><span style="font-family: 'times
 new roman', 'new york', times, serif;">  File "/usr/lib/pymodules/python2.6/application/notification.py", line 216, in post_notification</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    observer.handle_notification(notification)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "<string>", line 1, in handle_notification</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/lib/pymodules/python2.6/sipsimple/threading/__init__.py", line 102, in wrapper</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    func(*args, **kwargs)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/lib/pymodules/python2.6/sipsimple/application.py", line 335, in handle_notification</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    handler(notification)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/local/lib/python2.6/dist-packages/sylk/server.py", line 224, in _NH_SIPApplicationDidStart</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    self.request_handler = IncomingRequestHandler()</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/lib/pymodules/python2.6/application/python/types.py", line 37, in __call__</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    return cls.__instantiate__(*args, **kw)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "<string>", line 1, in __init__</span></div><div><span style="font-family: 'times
 new roman', 'new york', times, serif;">  File "/usr/lib/pymodules/python2.6/application/python/types.py", line 31, in instance_creator</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    cls.__instances__[key] = super(Singleton, cls).__call__(*args, **kw)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/local/lib/python2.6/dist-packages/sylk/applications/__init__.py", line 92, in __init__</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    load_applications()</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/local/lib/python2.6/dist-packages/sylk/applications/__init__.py", line 77, in load_applications</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    map(__import__,
 app_list)</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/__init__.py", line 18, in <module></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    from sylk.applications.xmppgateway.im import SIPMessageSender, SIPMessageError, ChatSessionHandler</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/im.py", line 27, in <module></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    from sylk.applications.xmppgateway.xmpp import XMPPManager</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">  File
 "/usr/local/lib/python2.6/dist-packages/sylk/applications/xmppgateway/xmpp/__init__.py", line 13, in <module></span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">    from wokkel.component import InternalComponent, Router as _Router</span></div><div><span style="font-family: 'times new roman', 'new york', times, serif;">ImportError: No module named wokkel.component</span></div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">thanks, </div><div style="font-family: 'times new roman', 'new york', times, serif; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; ">Tiho</div></div></span></div></div></div>_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com">SIPBeyondVoIP@lists.ag-projects.com</a><br>http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip<br></blockquote></div><br></div></div></div></body></html>