Hello again,

once i found the FAQ-link on shtoom-page I I got it to register
successfully. Now I've tried to place my first call, but get an
exception, attaching log below.

Could the dest-member of RTPProtocol class have anything to do with
the audio-device? I'm not exactly sure I got fast.py correct (it
didn't work out of the box so I made a small few changes.)

//Hugo

2005-06-04T23:11:49.065000 [sip] dropcall in state 'NEW'

placeCall starting
2005-06-04T23:11:52.570000 [-]
twisted.internet.protocol.DatagramProtocol starting on 0

2005-06-04T23:11:52.580000 [-] Starting protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x01A533F0>

2005-06-04T23:11:52.580000 [-] dialog is <Dialog "22"
<sip:[EMAIL PROTECTED]>;tag=02740138->sip:[EMAIL PROTECTED],
[EMAIL PROTECTED]>

2005-06-04T23:11:52.580000 [-] Traceback (most recent call last):
          File "D:\dc\shtoom\shtoom\shtoom\sip.py", line 305, in <lambda>
            d.addCallback(lambda lhost, lport=lport, dest=dest:
          File "D:\dc\shtoom\shtoom\shtoom\sip.py", line 323, in _checkNATPolicy
            self.setupDeferred.callback((self._localIP, self._localPort))
          File "C:\prgs\Python23\Lib\site-packages\twisted\internet\defer.py",
line 254, in callback
            self._startRunCallbacks(result)
          File "C:\prgs\Python23\Lib\site-packages\twisted\internet\defer.py",
line 315, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "C:\prgs\Python23\Lib\site-packages\twisted\internet\defer.py",
line 328, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "D:\dc\shtoom\shtoom\shtoom\sip.py", line 472, in <lambda>
            d.addCallback(lambda x:self.startSendInvite(toAddr, init=1)
          File "D:\dc\shtoom\shtoom\shtoom\sip.py", line 524, in startSendInvite
            d = self.sip.app.acceptCall(call=self)
          File "d:\dc\shtoom\shtoom\shtoom\app\phone.py", line 149, in 
acceptCall
            call.getSTUNState())
          File "d:\dc\shtoom\shtoom\shtoom\app\phone.py", line 162, in 
_createRTP
            rtp = RTPProtocol(self, cookie)
          File "D:\dc\shtoom\shtoom\shtoom\rtp\protocol.py", line 40, in 
__init__
            self.seq = self.genRandom(bits=16)
          File "D:\dc\shtoom\shtoom\shtoom\rtp\protocol.py", line 353, in 
genRandom
            m.update(str(id(self.dest)))
        exceptions.AttributeError: RTPProtocol instance has no attribute 'dest'
        

2005-06-04T23:11:52.590000 [-] (Port 0 Closed)

2005-06-04T23:11:52.590000 [-] Stopping protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x01A533F0>

2005-06-04T23:12:03.406000 [sip] dropcall in state 'NEW'
_______________________________________________
Shtoom mailing list
[email protected]
http://mail.python.org/mailman/listinfo/shtoom

Reply via email to