[SIP Beyond VoIP] Another strange problem whcih I can't overcome for a long time.

Hadzhiev, Tihomir tihomir.hadzhiev at acision.com
Fri Nov 9 16:34:24 CET 2012


Hi All,

I hope you will be able to help me with this one.

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.

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:

Starting factory <sylk.applications.xmppgateway.xmpp.DeferredS2SClientFactory object at 0x7f48c8b6ed50>
DNSDatagramProtocol starting on 60792
Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f48c8b6edd0>
[xmppgateway] Presence session established sip:alice at open-ims.test --> xmpp:tihoparvi at testing.com
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    f(*a, **kw)
  File "/root/src/sylkserver/sylk/applications/__init__.py", line 139, in handle_notification
    handler(notification)
  File "/root/src/sylkserver/sylk/applications/__init__.py", line 167, in _NH_SIPIncomingSubscriptionGotSubscribe
    app.incoming_subscription(subscribe_request, notification.data)
  File "/root/src/sylkserver/sylk/applications/xmppgateway/__init__.py", line 133, in incoming_subscription
    handler.add_sip_subscription(subscribe_request)
  File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 87, in add_sip_subscription
    subscription.accept_pending()
  File "_core.subscription.pxi", line 507, in sipsimple.core._core.IncomingSubscription.accept_pending (sipsimple/core/_core.c:103161)
  File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105357)
PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)
(UDP Port 60792 Closed)
Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f48c8b6edd0>
Outgoing connection 0 from u'open-ims.test' to u'testing.com' established
error: Exception occured in observer <sylk.applications.xmppgateway.presence.S2XPresenceHandler object at 0x7f48c8b6e850> while handling notification 'XMPPSubscriptionChangedState'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/application/notification.py", line 216, in post_notification
    observer.handle_notification(notification)
  File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 138, in handle_notification
    handler(notification)
  File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 154, in _NH_XMPPSubscriptionChangedState
    subscription.accept(content_type, pidf_doc)
  File "_core.subscription.pxi", line 534, in sipsimple.core._core.IncomingSubscription.accept (sipsimple/core/_core.c:103647)
  File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105357)
PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)


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.

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.

Currently I have the following hosts:

10.226.20.240 -> Open-IMS , DNS Server
10.226.20.14 -> IMS client, XMPP Client
10.226.20.56 -> Sylk + Presence Server
10.226.20.60 -> XMPP Server


Thanks a lot for your advises.

Cheers,
Tiho

________________________________
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20121109/c514b9f2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testin.cap
Type: application/octet-stream
Size: 19775 bytes
Desc: testin.cap
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20121109/c514b9f2/attachment-0001.obj>


More information about the SIPBeyondVoIP mailing list