资 源 简 介
All futher development now on https://github.com/frutik/asterisk-ami-pgsql
What is this
Attempt to provide access to Asterisk"s AMI via Postgres/SQL
Features
You can have access to asterisk"s ami from any programming languages with support of postgresql.
You can employ all features of sql language: sort, filter by where clauses, group, join resulting output of ami commands (like ordinary database tables) with real tables.
Require
Postgresql server with installed plpython
Asterisk server with enabled and configured AMI
Pyst python module
Install
Download source
Download, unpack, cd to uncompressed pyst source and install it:
python setup.py install
Execute install.sql: psql -U postgres asterisk -f