项目作者: bkbilly

项目描述 :
Asterisk call history & contacts
高级语言: HTML
项目地址: git://github.com/bkbilly/Asterisk-Call-History.git
创建时间: 2017-01-08T23:51:33Z
项目社区:https://github.com/bkbilly/Asterisk-Call-History

开源协议:

下载


Asterisk Call History

This application shows the call history of all calls from asterisk server (Master.csv).

Installation

  1. sudo git clone https://github.com/bkbilly/Asterisk-Call-History.git /opt/Asterisk-Call-History
  2. sudo pip install -r /opt/Asterisk-Call-History/requirements.txt
  3. sudo cp /opt/Asterisk-Call-History/configuration_template.json /opt/Asterisk-Call-History/configuration.json
  4. sudo cp /opt/Asterisk-Call-History/autostart/asteriskcallhistory.service /etc/systemd/system/asteriskcallhistory.service
  5. sudo chmod +x /etc/systemd/system/asteriskcallhistory.service
  6. sudo systemctl enable asteriskcallhistory
  7. sudo service asteriskcallhistory start

How to use configuration.json

  • options.callDataFile (str) Location of the Master.csv file
  • options.externalNumbers (list str) The external numbers using the Asterisk Regular Expression format
  • options.internalNumbers (list str) The internal numbers using the Asterisk Regular Expression format

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D