Code Monkey home page Code Monkey logo

rccn's Introduction

RCCN

Rhizomatica Community Cellular Network

This is no longer the public git repository for the the code developed in the Rhizomatica Project.

rccn's People

Contributors

ciaby avatar kalikaneko avatar matt9j avatar meskio avatar multilectical avatar rafael2k avatar tele0x avatar whyteks avatar

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  avatar  avatar  avatar  avatar

Watchers

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

rccn's Issues

Calls not being completed. Error in rccn module on Freeswitch.

I installed the rhizodistro version in my PC, however when I try to make calls, it never complete, I traceback it from osmo-nitb, lcr and freeswitch, and I found that there is an error with the rccn module that freeswitch calls. Bellow the log from freeswitch:

2017-11-17 17:17:24.804960 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/[email protected]:5050 [82220826-e21e-4abf-9941-0a31d79ec4cd]
2017-11-17 17:17:24.804960 [INFO] mod_dialplan_xml.c:637 Processing 5591125708 <5591125708>->5591126315 in context public
2017-11-17 17:17:24.804960 [NOTICE] mod_python.c:212 Invoking py module: rccn
2017-11-17 17:17:24.904958 [ERR] mod_python.c:295 Error calling python script
2017-11-17 17:17:24.904958 [ERR] mod_python.c:164 Python Error by calling script "rccn": <type 'exceptions.NameError'>
Message: global name 'riak_client' is not defined
Exception: None

Traceback (most recent call last)
	File: "/var/rhizomatica/rccn/rccn.py", line 58, in handler
	File: "/var/rhizomatica/rccn/dialplan.py", line 251, in lookup
	File: "/var/rhizomatica/rccn/modules/numbering.py", line 100, in is_number_internal
2017-11-17 17:17:24.924960 [NOTICE] switch_core_state_machine.c:385 sofia/internal/[email protected]:5050 has executed the last dialplan instruction, hanging up.
2017-11-17 17:17:24.924960 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/[email protected]:5050 [CS_EXECUTE] [NORMAL_CLEARING]
2017-11-17 17:17:24.924960 [NOTICE] mod_python.c:212 Invoking py module: rccn
2017-11-17 17:17:24.944957 [NOTICE] switch_core_session.c:1683 Session 1 (sofia/internal/[email protected]:5050) Ended
2017-11-17 17:17:24.944957 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/[email protected]:5050 [CS_DESTROY]

I noticed that in config.py file, the 'import riak' is commented, however when I remove the comment, it does not work as well, saying that there is no module named riak, giving the following log on freeswitch:

2017-11-17 17:29:05.029302 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/[email protected]:5050 [68ff499e-bad5-434d-a8f5-3168a930e09b]
2017-11-17 17:29:05.029302 [INFO] mod_dialplan_xml.c:637 Processing 5591125708 <5591125708>->5591126315 in context public
2017-11-17 17:29:05.029302 [NOTICE] mod_python.c:212 Invoking py module: rccn
2017-11-17 17:29:05.089310 [ERR] mod_python.c:231 Error importing module
2017-11-17 17:29:05.089310 [ERR] mod_python.c:164 Python Error by calling script "rccn": <type 'exceptions.ImportError'>
Message: No module named riak
Exception: None

Traceback (most recent call last)
	File: "/var/rhizomatica/rccn/rccn.py", line 22, in <module>
	File: "/var/rhizomatica/rccn/config.py", line 6, in <module>
2017-11-17 17:29:05.089310 [NOTICE] switch_core_state_machine.c:385 sofia/internal/[email protected]:5050 has executed the last dialplan instruction, hanging up.
2017-11-17 17:29:05.089310 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/[email protected]:5050 [CS_EXECUTE] [NORMAL_CLEARING]
2017-11-17 17:29:05.089310 [NOTICE] mod_python.c:212 Invoking py module: rccn
2017-11-17 17:29:05.089310 [ERR] mod_python.c:231 Error importing module
2017-11-17 17:29:05.089310 [ERR] mod_python.c:164 Python Error by calling script "rccn": <type 'exceptions.ImportError'>
Message: No module named riak
Exception: None

Traceback (most recent call last)
	File: "/var/rhizomatica/rccn/rccn.py", line 22, in <module>
	File: "/var/rhizomatica/rccn/config.py", line 6, in <module>
2017-11-17 17:29:05.109302 [NOTICE] switch_core_session.c:1683 Session 1 (sofia/internal/[email protected]:5050) Ended
2017-11-17 17:29:05.109302 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/[email protected]:5050 [CS_DESTROY]

Any idea in how to solve this?

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.