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

Anil KARADAG akaradag at NETAS.com.tr
Thu Oct 11 14:32:26 CEST 2012


Hi Saúl,


Thanks for reply but the problem exists in release 0.30.1natty.


root at trhtlangley35:~# aptitude show sipclients
Package: sipclients
State: installed
Automatically installed: no
Version: 0.30.1natty
Priority: optional
Section: net
Maintainer: Dan Pascu <dan at ag-projects.com>
Uncompressed Size: 2,662 k
Depends: python2.7 | python2.6, python (>= 2.7.1-0ubuntu2), python (< 2.8), libavahi-compat-libdnssd1, python-application (>= 1.2.8), python-eventlib,
         python-lxml, python-sipsimple (>= 0.30.0), python-twisted-core, python-zope.interface
Conflicts: sipsimple-cli
Description: SIP SIMPLE Command Line Clients
 This package contains Command Line Clients for testing SIP SIMPLE client SDK from http://sipsimpleclient.com. They demonstrate the SDK capabilities and can
 be used as examples or for testing purposes.
Homepage: http://sipsimpleclient.com



-----Original Message-----
From: Saúl Ibarra Corretgé [mailto:saul at ag-projects.com] 
Sent: Thursday, October 11, 2012 2:36 PM
To: Anil KARADAG
Cc: sipbeyondvoip at lists.ag-projects.com
Subject: Re: [SIP Beyond VoIP] [Sip simple client] AttributeError:'NotificationData' object has no attribute 'timeout'


On Oct 11, 2012, at 1:29 PM, Anil KARADAG wrote:

> Hi all,
>  
>  
> I am continuing to research the problem and I found that;
>  
> 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))
>  
> notification.data is an instance of NotificationData. And the instance has the below attributes;
>  
> NotificationData(retry_after=1.4917001857171823, error='No more routes to try')
>  
>  
> My /usr/bin/sip-session code is sample with [1]. I think this is a bug and it should be fixed .
>  

The bug was already fixed in *sipclients* 0.3.1, do you have that version installed? sipclients, not python-sipsimple.


Regards,

--
Saúl Ibarra Corretgé
AG Projects





More information about the SIPBeyondVoIP mailing list