<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:black'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>I am continuing to research the problem and I found that;<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:black'>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, </span><b><span lang=TR style='color:black'>notification.data.timeout</span></b><span lang=TR style='font-size:10.0pt;color:black'>))<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:black'><o:p> </o:p></span></p><p class=MsoNormal><i><u><span lang=TR style='color:black'>notification.data</span></u></i><span lang=TR style='color:black'> is an instance of NotificationData. And the instance has the below attributes;<o:p></o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:red'>NotificationData(retry_after=1.4917001857171823, error='No more routes to try')<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:black'>My /usr/bin/sip-session code is sample with [1]. I think this is a bug and it should be fixed .</span><span style='font-size:10.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='color:black'>root@trhtlangley35:~# aptitude show python-application<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Package: python-application<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>State: installed<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Automatically installed: yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:black'>Version: 1.4.0natty<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Priority: optional<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Section: python<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Maintainer: Dan Pascu <dan@ag-projects.com><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Uncompressed Size: 406 k<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Depends: python2.7 | python2.6, python (>= 2.7.1-0ubuntu2), python (< 2.8), python-zopeinterface<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='color:black'>root@trhtlangley35:~# aptitude show python-sipsimple<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Package: python-sipsimple<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>State: installed<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Automatically installed: yes<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:black'>Version: 0.30.1natty<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Priority: optional<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Section: python<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Maintainer: Dan Pascu <dan@ag-projects.com><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Uncompressed Size: 9,118 k<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Depends: python2.7 | python2.6, python (>= 2.7.1-0ubuntu2), python (< 2.8), libasound2 (> 1.0.24.1), libc6 (>= 2.11), libssl0.9.8 (>= 0.9.8m-1),<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>         python-application (>= 1.4.0), python-backports, python-dateutil, python-dnspython (>= 1.6), python-eventlib, python-gnutls, python-lxml,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>         python-msrplib (>= 0.15.0), python-twisted-core (>= 8.1.0), python-xcaplib (>= 1.0.17)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'>Suggests: libavahi-compat-libdnssd1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:black'>[1]</span><span style='font-size:10.0pt;color:gray'> </span><a href="http://devel.ag-projects.com/repositories/sipclients/sip-session">http://devel.ag-projects.com/repositories/sipclients/sip-session</a><span style='font-size:10.0pt;color:gray'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sipbeyondvoip-bounces@lists.ag-projects.com [mailto:sipbeyondvoip-bounces@lists.ag-projects.com] <b>On Behalf Of </b>Anil KARADAG<br><b>Sent:</b> Wednesday, October 10, 2012 5:55 PM<br><b>To:</b> sipbeyondvoip@lists.ag-projects.com<br><b>Subject:</b> [SIP Beyond VoIP] [Sip simple client] AttributeError:'NotificationData' object has no attribute 'timeout'<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=TR>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR>Does anyone know that why sip-session prints the below error? I installed sipsimple and sipclient from ubuntu 11.0.4 repository. <o:p></o:p></span></p><p class=MsoNormal><span lang=TR>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR>          +-- always_use_my_proxy = True<o:p></o:p></span></p><p class=MsoNormal><span lang=TR>sip --|-- outbound_proxy = SIPProxyAddress('x.y.z.t', port=5060, transport='udp')<o:p></o:p></span></p><p class=MsoNormal><span lang=TR>          |-- publish_interval = 86400<o:p></o:p></span></p><p class=MsoNormal><span lang=TR>          |-- </span><b><span lang=TR style='font-size:12.0pt'>register = False</span></b><span lang=TR><o:p></o:p></span></p><p class=MsoNormal><span lang=TR>          |-- register_interval = 86400<o:p></o:p></span></p><p class=MsoNormal><span lang=TR>          +-- subscribe_interval = 86400<o:p></o:p></span></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=TR>Error:<o:p></o:p></span></b></p><p class=MsoNormal><span lang=TR><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>error: Exception occured in observer <__main__.SIPSessionApplication object at 0x293b950> while handling notification 'SIPAccountRegistrationDidFail'<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>  File "/usr/lib/python2.7/dist-packages/application/notification.py", line 216, in post_notification<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>    observer.handle_notification(notification)<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>  File "<string>", line 1, in handle_notification<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>  File "/usr/lib/python2.7/dist-packages/sipsimple/threading/__init__.py", line 100, in wrapper<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>    func(*args, **kwargs)<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>  File "/usr/lib/python2.7/dist-packages/sipsimple/application.py", line 342, in handle_notification<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>    handler(notification)<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>  File "/usr/bin/sip-session", line 1126, in _NH_SIPAccountRegistrationDidFail<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>    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))<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'>AttributeError: 'NotificationData' object has no attribute 'timeout'<o:p></o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR style='font-size:10.0pt;color:gray'><o:p> </o:p></span></p><p class=MsoNormal><span lang=TR style='color:black'>thanks<o:p></o:p></span></p></div></body></html>