[SIP Beyond VoIP] [Sip simple client] AttributeError: 'NotificationData' object has no attribute 'timeout'

Anil KARADAG akaradag at NETAS.com.tr
Wed Oct 10 16:55:21 CEST 2012

Hi all,



Does anyone know that why sip-session prints the below error? I
installed sipsimple and sipclient from ubuntu 11.0.4 repository. 

I think something's wrong. What can we disable user registration? I
tried establish session after setting of sip.register=False, but there
is no change.


          +-- always_use_my_proxy = True

sip --|-- outbound_proxy = SIPProxyAddress('x.y.z.t', port=5060,

          |-- publish_interval = 86400

          |-- register = False

          |-- register_interval = 86400

          +-- subscribe_interval = 86400





error: Exception occured in observer <__main__.SIPSessionApplication
object at 0x293b950> while handling notification

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/application/notification.py",
line 216, in post_notification


  File "<string>", line 1, in handle_notification

"/usr/lib/python2.7/dist-packages/sipsimple/threading/__init__.py", line
100, in wrapper

    func(*args, **kwargs)

  File "/usr/lib/python2.7/dist-packages/sipsimple/application.py", line
342, in handle_notification


  File "/usr/bin/sip-session", line 1126, in

    send_notice('%s Failed to register contact for sip:%s: %s (retrying
in %.2f seconds)' % (datetime.now().replace(microsecond=0),
self.account.id, notification.data.error, notification.data.timeout))

AttributeError: 'NotificationData' object has no attribute 'timeout'




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20121010/90fda9d1/attachment.html>

More information about the SIPBeyondVoIP mailing list