Giter VIP home page Giter VIP logo

bbs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bbs's Issues

Error creating transport: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]

Hi. I am getting the error below when trying to use bbs:

$ bbs -c examples/simple.yaml -e examples/multiple/environment.yaml -vvv -k -o results.xml
11:40:51.722 os_core_unix.c !pjlib 2.5.5 for POSIX initialized
11:40:51.722 sip_endpoint.c  .Creating endpoint instance...
11:40:51.722          pjlib  .select() I/O Queue created (0xb869d0)
11:40:51.722 sip_endpoint.c  .Module "mod-msg-print" registered
11:40:51.722 sip_transport.  .Transport manager created.
11:40:51.722   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
WARNING: no real random source present!
11:40:51.727   pjsua_core.c  .pjsua version 2.5.5 for Linux-3.10.3.94/x86_64/glibc-2.17 initialized
11:40:51.727   pjsua_core.c  Error creating transport: Unsupported transport (PJSIP_EUNSUPTRANSPORT) [status=171060]
Exception: Object: Lib, operation=create_transport(), error=Unknown error 171060
=============== call from alice to bob (simple.yaml) =======================
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "build/bdist.linux-x86_64/egg/bbs/session.py", line 97, in run
    Lib.instance().thread_register(("thread_%d" % self.thread.ident))
AttributeError: 'NoneType' object has no attribute 'thread_register'

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "build/bdist.linux-x86_64/egg/bbs/session.py", line 97, in run
    Lib.instance().thread_register(("thread_%d" % self.thread.ident))
AttributeError: 'NoneType' object has no attribute 'thread_register'

Scenario has failed [20 timeout reached]
Scenario has failed

Can you help me find out why?

Python3 support?

Since python2 is deprecated, most of the packages stopped support of python2.
There is someone created the pjsua's python3 wrapper.
Should we try to upgrade this project to python3?
I think this is an excellent repo, but it needed to adapt current python3 environment.
If the upgrade is okay, I would be glad to do the python3 translation.

ImportError: No module named pjsua

Hello there,

thanks for sharing bbs with the community.

We're getting this error trying to implement bbs in our Centos 7 server with Asterisk 16:

Traceback (most recent call last): File "/usr/bin/bbs", line 9, in <module> load_entry_point('bbs==0.0.1', 'console_scripts', 'bbs')() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point return ep.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "build/bdist.linux-x86_64/egg/bbs/main.py", line 43, in <module> File "build/bdist.linux-x86_64/egg/bbs/pjlib.py", line 19, in <module> ImportError: No module named pjsua

Are we doing smth wrong?

Thanks for your help
Richi

Is there a way to set UA´s IP address and port?

From what I understood (apologize me if I am wrong), bbs starts UAs as OS processes with the same IP address and randomly assigned ports. Is there a way (having different interfaces) to assign specific IP address and ports to UAs?

What I want to achieve is to run all UAs in the same machine but with different IP addresses (different networks) and same port.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.