Giter VIP home page Giter VIP logo

monast's Introduction

Before playing with Monast you must install a couple of things in
your system (with administrator privileges). Make sure to have both
PHP5 and Python2.4+ installed.

Copy the sample file named monast.conf.sample from the pymon/
directory to /etc/monast.conf and edit it properly as documented
inside of this file. Do some tests with your Asterisk Manager
Interface user before trying it out, maybe it's your fault and not
Monast's. You can then execute the monast.py script located in the
pymon/ directory as well. You should see a bunch of log messages
confirming the AMI login and start receiving events.

Monast has been successfully tested under many Linux distributions
(like Slackware, CentOS and Mandriva) and also on MacOS X.
* Requires Twisted Python (http://twistedmatrix.com)
  Starpy (http://www.vrplumber.com/programming/starpy/)
See INSTALL file.

Monast webpage is located at <https://dagmoller.github.io/monast/> and it's licenced
under BSD. It has been created by Diego Aguirre (DagMoller).

monast's People

Contributors

dagmoller avatar jtylr avatar ros-tel 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  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  avatar

monast's Issues

Debian 9 and php7

Hi,
On Debian 9 with php7 cant open start page.
tail -1 /var/log/apache2/error.log
[Mon Oct 02 12:33:20.533800 2017] [:error] [pid 21622] [client х.х.х.х:33562] PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/HTTP/Client.php on line 179

MonAst with CentOS 7 e PHP 5.4

pear install HTTP_Client

WARNING: "pear/HTTP_Client" is deprecated in favor of "pear/HTTP_Request2"
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
WARNING: "pear/HTTP_Request" is deprecated in favor of "pear/HTTP_Request2"
WARNING: "pear/Net_URL" is deprecated in favor of "pear/Net_URL2"
pear/Net_Socket requires PEAR Installer (version >= 1.10.1), installed version is 1.9.4
pear/HTTP_Request requires package "pear/Net_Socket" (version >= 1.0.7)
pear/HTTP_Client requires package "pear/HTTP_Request" (version >= 1.4.0)
No valid packages found
install failed

Error Requesting IAX Peers

Install new version of monnast.
Asterisk 14.3.0

[Thu Dec 27 15:26:40 2018] NOTICE :: Initializing Monast AMI Interface...
[Thu Dec 27 15:26:40 2018] NOTICE :: Parsing config file /etc/monast.conf
[Thu Dec 27 15:26:40 2018] NOTICE :: Server Server_1 :: AMI Connected...
[Thu Dec 27 15:26:40 2018] ERROR :: Server Server_1 :: Error Requesting IAX Peers, reason: Invalid/unknown command: iaxpeers. Use Action: ListCommands to show available commands.

exception on startup

[Mon Jan 20 17:21:45 2020] NOTICE   :: Initializing Monast AMI Interface...
[Mon Jan 20 17:21:45 2020] NOTICE   :: Parsing config file /etc/monast.conf
[Mon Jan 20 17:21:45 2020] NOTICE   :: Server Astx :: AMI Connected...
[Mon Jan 20 17:21:45 2020] WARNING  :: Server Astx :: Queue not found: None
[Mon Jan 20 17:21:45 2020] WARNING  :: Server Astx :: Queue not found: None
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 368, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "./monast.py", line 1846, in onStatusComplete
    tech, chan = channel.rsplit('-', 1)[0].split('/', 1)
exceptions.AttributeError: 'NoneType' object has no attribute 'rsplit'

Not working with Asterisk 16

Probably due to changes in AMI on Asterisk v16, Monast is not working on this version:

Starting: MonAst...[Tue May 11 23:34:56 2021] NOTICE :: Initializing Monast AMI Interface...
[Tue May 11 23:34:56 2021] NOTICE:: Parsing config file /etc/monast.conf
[Tue May 11 23:34:56 2021] NOTICE:: Server Server_1 :: AMI Connected...
[Tue May 11 23:34:56 2021] ERROR :: Server Server_1 :: Error Requesting Asterisk Version, reason: Command output follows

Default Tab

Actually is just a question. I have deleted mixed tab, parked calls tab, and now i want to use Queues as a default tab when you open the page, but, i modified monast.html and i have my li queues div with an "class="active"", but, it doesnt work.

Can someone help me with this?

Python 3.6 compatability

I tried with python3 and I am getting the following error.

root@izzyai monast]# python3.6 monast.py
File "monast.py", line 22
print "Monast ERROR: Module twisted not found."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Monast ERROR: Module twisted not found.")?

I have installed twisted 16.0, however, the same issue persists

pip-3 install Twisted==16.0.0

Not working with Asterisk 14

Probably due to changes in AMI on Asterisk v14, Monast is not working on this version:

[Thu Mar 16 16:18:17 2017] NOTICE :: Initializing Monast AMI Interface...
[Thu Mar 16 16:18:17 2017] NOTICE :: Parsing config file /etc/monast.conf
[Thu Mar 16 16:18:17 2017] NOTICE :: Server Test :: AMI Connected...
[Thu Mar 16 16:18:17 2017] ERROR :: Server Test :: Error Requesting Asterisk Version, reason: Command output follows

http://lists.digium.com/pipermail/asterisk-commits/2015-April/072904.html

Request for working virtual machine

Considering that old versione of python and php and several dependencies are required in old version, is it possible to share a working virtual machine with required working software?
thank you very much for you attention
Walter

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.