<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi All, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope you will be able to help me with this one. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the IMS/SIP client logging in ( have there presence server and so on ) and I’m willing both guys, the IMS guy and the XMPP guy to see their presence together.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please take a look at the attached tcpdump, which has been taken on the box where Sylk stand ( presence server as well ). I have Open Ims on a different box ( presuming messaging both SIP<->XMPP and MSRP<->XMPP works ). However when I enable
the presence at the IMS client, it would start to make SUBSCRIPTIONS and so on, and this is the place where SYLK dies with the following error:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Starting factory <sylk.applications.xmppgateway.xmpp.DeferredS2SClientFactory object at 0x7f48c8b6ed50><o:p></o:p></p>
<p class="MsoNormal">DNSDatagramProtocol starting on 60792<o:p></o:p></p>
<p class="MsoNormal">Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f48c8b6edd0><o:p></o:p></p>
<p class="MsoNormal">[xmppgateway] Presence session established sip:alice@open-ims.test --> xmpp:tihoparvi@testing.com<o:p></o:p></p>
<p class="MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent<o:p></o:p></p>
<p class="MsoNormal"> f(*a, **kw)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/__init__.py", line 139, in handle_notification<o:p></o:p></p>
<p class="MsoNormal"> handler(notification)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/__init__.py", line 167, in _NH_SIPIncomingSubscriptionGotSubscribe<o:p></o:p></p>
<p class="MsoNormal"> app.incoming_subscription(subscribe_request, notification.data)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/xmppgateway/__init__.py", line 133, in incoming_subscription<o:p></o:p></p>
<p class="MsoNormal"> handler.add_sip_subscription(subscribe_request)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 87, in add_sip_subscription<o:p></o:p></p>
<p class="MsoNormal"> subscription.accept_pending()<o:p></o:p></p>
<p class="MsoNormal"> File "_core.subscription.pxi", line 507, in sipsimple.core._core.IncomingSubscription.accept_pending (sipsimple/core/_core.c:103161)<o:p></o:p></p>
<p class="MsoNormal"> File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105357)<o:p></o:p></p>
<p class="MsoNormal">PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)<o:p></o:p></p>
<p class="MsoNormal">(UDP Port 60792 Closed)<o:p></o:p></p>
<p class="MsoNormal">Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f48c8b6edd0><o:p></o:p></p>
<p class="MsoNormal">Outgoing connection 0 from u'open-ims.test' to u'testing.com' established<o:p></o:p></p>
<p class="MsoNormal">error: Exception occured in observer <sylk.applications.xmppgateway.presence.S2XPresenceHandler object at 0x7f48c8b6e850> while handling notification 'XMPPSubscriptionChangedState'<o:p></o:p></p>
<p class="MsoNormal">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal"> File "/usr/lib/python2.7/dist-packages/application/notification.py", line 216, in post_notification<o:p></o:p></p>
<p class="MsoNormal"> observer.handle_notification(notification)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 138, in handle_notification<o:p></o:p></p>
<p class="MsoNormal"> handler(notification)<o:p></o:p></p>
<p class="MsoNormal"> File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 154, in _NH_XMPPSubscriptionChangedState<o:p></o:p></p>
<p class="MsoNormal"> subscription.accept(content_type, pidf_doc)<o:p></o:p></p>
<p class="MsoNormal"> File "_core.subscription.pxi", line 534, in sipsimple.core._core.IncomingSubscription.accept (sipsimple/core/_core.c:103647)<o:p></o:p></p>
<p class="MsoNormal"> File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105357)<o:p></o:p></p>
<p class="MsoNormal">PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I see is that the SUBSCRIBE reaches the XMPP Server, and even the XMPP Server is happy with the subscribe to presence, and what I see in the tcpdump is that once the XMPP server would send backwards SUBSCRIBE towards SYLK- > SYLK dies.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ok, it might be a problem with the DNS server that I have, but if it was then messaging would have failed as well, but that’s not happening.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Currently I have the following hosts:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">10.226.20.240 -> Open-IMS , DNS Server<o:p></o:p></p>
<p class="MsoNormal">10.226.20.14 -> IMS client, XMPP Client<o:p></o:p></p>
<p class="MsoNormal">10.226.20.56 -> Sylk + Presence Server<o:p></o:p></p>
<p class="MsoNormal">10.226.20.60 -> XMPP Server<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks a lot for your advises. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers, <o:p></o:p></p>
<p class="MsoNormal">Tiho<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed
to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.<br>
</font>
<br clear=all>
</body>
</html>