https://github.com/oioki/aist
Statistics for Asterisk
https://github.com/oioki/aist
Last synced: 11 months ago
JSON representation
Statistics for Asterisk
- Host: GitHub
- URL: https://github.com/oioki/aist
- Owner: oioki
- Created: 2015-09-13T16:18:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-15T15:11:47.000Z (almost 11 years ago)
- Last Synced: 2025-02-11T13:58:32.005Z (over 1 year ago)
- Language: PHP
- Size: 215 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: history.php
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;
```