[SIP Beyond VoIP] Presence problems continuation

Hadzhiev, Tihomir tihomir.hadzhiev at acision.com
Tue Sep 18 13:51:39 CEST 2012


Hi Adrian,

I have checked around and it happened that 1-st problem is that when my ISP user logs in , the Subscribe for the XMPP domain is not routed correctly towards SYLK.

That's done now and I can see in tcpdump, e.g. done correctly ( even though it forward also the Subscribe for the SIP domain ( 1 user though ).

But now the following problem appeared:

Starting factory <sylk.applications.xmppgateway.xmpp.DeferredS2SClientFactory object at 0x7f43cc5e9c90>
/etc/resolv.conf changed, reparsing
Resolver added ('10.226.20.240', 53) to server list
Resolver added ('10.226.32.45', 53) to server list
DNSDatagramProtocol starting on 62773
Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f43cc9b7cd0>
[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 88, in add_sip_subscription
    subscription.accept_pending()
  File "_core.subscription.pxi", line 507, in sipsimple.core._core.IncomingSubscription.accept_pending (sipsimple/core/_core.c:102989)
  File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105185)
PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)
[xmppgateway] Presence session established sip:alice at open-ims.test --> xmpp:tihovroti 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 88, in add_sip_subscription
    subscription.accept_pending()
  File "_core.subscription.pxi", line 507, in sipsimple.core._core.IncomingSubscription.accept_pending (sipsimple/core/_core.c:102989)
  File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105185)
PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)
(UDP Port 62773 Closed)
Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f43cc9b7cd0>
Starting factory <sylk.applications.xmppgateway.xmpp.DeferredS2SClientFactory object at 0x7f43cca6d410>
DNSDatagramProtocol starting on 46209
Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f43cca6d510>
(UDP Port 46209 Closed)
Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7f43cca6d510>
Incoming connection 0 from u'testing.com' to u'open-ims.test' established
Stopping factory <sylk.applications.xmppgateway.xmpp.DeferredS2SClientFactory object at 0x7f43cca6d410>
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 0x7f43cc5ed9d0> 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 137, in handle_notification
    handler(notification)
  File "/root/src/sylkserver/sylk/applications/xmppgateway/presence.py", line 153, 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:103475)
  File "_core.subscription.pxi", line 648, in sipsimple.core._core.IncomingSubscription._send_notify (sipsimple/core/_core.c:105185)
PJSIPError: Could not send NOTIFY request: No nameserver is in DNS resolver (PJLIB_UTIL_EDNSNONS)


Attached is also full trace of all entities on SYLK.

Thanks,
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/20120918/8c72f0c2/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.txt
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20120918/8c72f0c2/attachment-0001.txt>


More information about the SIPBeyondVoIP mailing list