Не может подключиться к AMI астериска, хотя самостоятельно руками успешно подключаюь к AMI с теми-же самыми логин-паролем
/home/localadmin/astconfman/astconfman# ./manage.py init
/home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_sqlalchemy/init.py:873: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
/home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: participants,logs
warnings.warn(text)
/home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: participants,user,logs
warnings.warn(text)
/home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: user
warnings.warn(text)
Traceback (most recent call last):
File "./manage.py", line 8, in
from app import app, db, migrate, user_datastore
File "/home/localadmin/astconfman/astconfman/app.py", line 150, in
from views import asterisk
File "/home/localadmin/astconfman/astconfman/views.py", line 1003, in
client.login(username=app.config['AMI_USER'],secret=app.config['AMI_PASSWORD'])
File "/home/localadmin/astconfman/env/lib/python2.7/site-packages/asterisk2/ami/client.py", line 125, in login
self.connect()
File "/home/localadmin/astconfman/env/lib/python2.7/site-packages/asterisk2/ami/client.py", line 85, in connect
self._socket.connect((self._address, self._port))
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
/home/localadmin/astconfman/astconfman#
Не может подключиться к AMI астериска, хотя самостоятельно руками успешно подключаюь к AMI с теми-же самыми логин-паролем
/home/localadmin/astconfman/astconfman# ./manage.py init /home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_sqlalchemy/init.py:873: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning. 'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and ' /home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: participants,logs warnings.warn(text) /home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: participants,user,logs warnings.warn(text) /home/localadmin/astconfman/env/lib/python2.7/site-packages/flask_admin/model/base.py:1139: UserWarning: Fields missing from ruleset: user warnings.warn(text) Traceback (most recent call last): File "./manage.py", line 8, in
from app import app, db, migrate, user_datastore
File "/home/localadmin/astconfman/astconfman/app.py", line 150, in
from views import asterisk
File "/home/localadmin/astconfman/astconfman/views.py", line 1003, in
client.login(username=app.config['AMI_USER'],secret=app.config['AMI_PASSWORD'])
File "/home/localadmin/astconfman/env/lib/python2.7/site-packages/asterisk2/ami/client.py", line 125, in login
self.connect()
File "/home/localadmin/astconfman/env/lib/python2.7/site-packages/asterisk2/ami/client.py", line 85, in connect
self._socket.connect((self._address, self._port))
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused
/home/localadmin/astconfman/astconfman#