sippy/b2bua

Udp_server: unhandled exception when processing incoming data

Opened this issue · 1 comments

Debian 8.1 Jessie, after fresh install using method from docs:

pip install git+https://github.com/sippy/b2bua

When executing:

b2bua_simple -f -n myipaddress

I get the following error:

2015-10-11 15:47:49.134474 Udp_server: unhandled exception when processing incoming data

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sippy/Udp_server.py", line 228, in handle_read
self.uopts.data_callback(data, address, self, rtime)
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 326, in handleIncoming
self.incomingRequest(req, checksum, tids, server)
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 584, in incomingRequest
t.userv = self.l4r.getServer(msg.getSource())
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 170, in getServer
return self.cache_l2s[laddress]
KeyError: ('myipaddress', <sippy.SipConf.MyPort object at 0x7f83284f0550>)

What should I fix?

Other error a few lines below:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/sippy/Udp_server.py", line 228, in handle_read
self.uopts.data_callback(data, address, self, rtime)
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 326, in handleIncoming
self.incomingRequest(req, checksum, tids, server)
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 584, in incomingRequest
t.userv = self.l4r.getServer(msg.getSource())
File "/usr/local/lib/python2.7/dist-packages/sippy/SipTransactionManager.py", line 193, in getServer
sopts = self.Udp_server_opts(laddress, handleIncoming)
NameError: global name 'handleIncoming' is not defined