Skip to content

Asterisk monast install

CentOS 7

yum install python-pip
pip install twisted

Use http://www.vrplumber.com/programming/starpy/

Download https://sourceforge.net/projects/starpy/files/

Unpack archive Run in subfolder:

python setup.py install

Got :

/usr/lib/python2.7/site-packages/starpy-1.0.0a12-py2.7.egg-info

Start monast for check resulst:

 ./monast.py

Tests:

# in asterisk
tel2*CLI> manager show connected 
  Username         IP Address                                               Start       Elapsed     FileDes   HttpCnt   Read   Write
  monast           127.0.0.1                                                1573252470  26          34        0         04863  04863

#
# by processes 
[root@tel2 pymon]# ps -ax |grep monast
29235 ?        S      0:00 /usr/bin/python -u ./monast.py --daemon

Web:

pear upgrade pear

pear install HTTP_Client