Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Udp_server: unhandled exception when processing incoming data #15

Open
mbartczak opened this issue Oct 11, 2015 · 1 comment
Open

Udp_server: unhandled exception when processing incoming data #15

mbartczak opened this issue Oct 11, 2015 · 1 comment

Comments

@mbartczak
Copy link

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?

@mbartczak
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant