среда, 6 февраля 2013 г.

установка asterisk на vps

# cd /usr/share/a2billing/CallBack/callback-daemon-py

# wgetВPhttp://pypi.python.org/packages/2.4/P/Products.SQLAlchemyDA/Products.SQLAlchemyDA-0.4.1-py2.4.egg

# rm -rf /usr/lib/python2.4/site-packages/SQLAlchemy-0.3.x-py2.4.egg (replaceВP0.3.x-py2.4.egg with the actual version)

You need to remove this and install a newer version

You will notice that the Sqlalchemy version installed is 0.3.x-py2.4.egg

The first thing you need to know is that the directory of a2billing is different on Elastix from the ones you find on many forums. The correct folder isВP/usr/share/a2billing.

If you follow the installation procedures given on ВPВPhttp://forum.asterisk2billing.org forums you will notice that after installation either your callback daemon shows it has started but if you try to get status using command "service a2b-callback-daemon status" It shows that its not running. or it fails to even start at all. This is not because the installation procedures are wrong. This happens because of the SQLalchemy version that is default with python 2.4. Callback daemon does not run on any SQLalchemyВPversion less than 0.6. The next procedure shows how to correctly install the callback daemon on Elastix without problems.

How to install a2billing callback daemon on Elastix-

Комментариев нет:

Отправить комментарий