STUN not working in python?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I'm still having this issue :( I'll try to explain it with more detail:

If I configure stun_host option in uaconfig to 'stunserver.org', for
example, nothing happens. I captured the traffic with wireshark and I
can't see the STUN requests...

If I configure stun_domain with no nameserver option, it does nothing,
wich is the expected behaviour.

But, if I configure stun_domain and namesever options I get the following error:

/usr/lib/python2.5/threading.py:735: RuntimeWarning: tp_compare didn't
return -1 or -2 for exception
  return _active[_get_ident()]
Traceback (most recent call last):
  File "main.py", line 51, in <module>
    main()
  File "main.py", line 11, in main
    core.start()
  File "/home/saghul/yass/core/core.py", line 109, in start
    self.start_lib()
  File "/home/saghul/yass/core/core.py", line 124, in start_lib
    self.lib.start()
  File "/usr/lib/python2.5/site-packages/pjsua.py", line 2099, in start
    lck = self.auto_lock()
  File "/usr/lib/python2.5/site-packages/pjsua.py", line 2565, in auto_lock
    return _LibMutex(self._lock)
  File "/usr/lib/python2.5/site-packages/pjsua.py", line 1995, in __init__
    self._lck.acquire()
  File "/usr/lib/python2.5/threading.py", line 95, in acquire
    me = currentThread()
  File "/usr/lib/python2.5/threading.py", line 735, in currentThread
    return _active[_get_ident()]
SystemError: ../Objects/listobject.c:150: bad argument to internal function

I'm using a very simple ua, in console, just to check this, and it's
still happening... Am I missing something? How could I debug this more
deeply?

Thanks!


-- 
Sa?l -- "Nunca subestimes el ancho de banda de un cami?n lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux