An open API service indexing awesome lists of open source software.

https://github.com/oioki/aist

Statistics for Asterisk
https://github.com/oioki/aist

Last synced: 11 months ago
JSON representation

Statistics for Asterisk

Awesome Lists containing this project

README

          

# aist
Statistics for Asterisk

Installation
------------
* Clone from repository:
```
git clone --depth 1 https://github.com/oioki/aist.git
```
* Install libraries (Smarty, jQuery etc...)
```
./fetch-libs.sh
```
* Customize configs/app.conf for your Asterisk installation.
* Your CDR scheme should be at least like this:
```
CREATE TABLE `cdr` (
`calldate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`src` varchar(80) NOT NULL DEFAULT '',
`dst` varchar(80) NOT NULL DEFAULT '',
`duration` int(11) NOT NULL DEFAULT '0',
`billsec` int(11) NOT NULL DEFAULT '0',
`disposition` varchar(45) NOT NULL DEFAULT '',
`accountcode` varchar(20) NOT NULL DEFAULT ''
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1;
```