[SIP Beyond VoIP] 64 bit Debian install problems

Saúl Ibarra Corretgé saul at ag-projects.com
Tue Sep 11 09:45:31 CEST 2012


On Sep 11, 2012, at 1:40 AM, Owen Lynch wrote:

> Hmm, now I get the following exception from 'sip-register' when registration fails:
> error: Exception occured in observer <__main__.RegistrationApplication object at 0x3379890> while handling notification 'SIPAccountRegistrationDidFail'
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/dist-packages/application/notification.py", line 216, in post_notification
>     observer.handle_notification(notification)
>   File "<string>", line 1, in handle_notification
>   File "/usr/lib/python2.6/dist-packages/sipsimple/threading/__init__.py", line 100, in wrapper
>     func(*args, **kwargs)
>   File "/usr/lib/python2.6/dist-packages/sipsimple/application.py", line 342, in handle_notification
>     handler(notification)
>   File "/usr/bin/sip-register", line 251, in _NH_SIPAccountRegistrationDidFail
>     self.output.put('%s Failed to register contact for sip:%s: %s (retrying in %.2f seconds)\n' % (datetime.now().replace(microsecond=0), self.account.id, notification.data.error, notification.data.timeout))
> AttributeError: 'NotificationData' object has no attribute 'timeout'
> Package versions:
> owenl at debianvm1:~$ python -c "import application; print application.__version__"
> 1.4.0
> owenl at debianvm1:~$ python -c "import sipsimple; print sipsimple.__version__"
> 0.30.0

This was an actual bug in the sip-register script. I just fixed that, thanks for the report!


Saúl Ibarra Corretgé
AG Projects

More information about the SIPBeyondVoIP mailing list