Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsheppar/codec-dashboard
https://github.com/gsheppar/codec-dashboard
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gsheppar/codec-dashboard
- Owner: gsheppar
- License: mit
- Created: 2017-08-28T13:56:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T13:53:58.000Z (about 7 years ago)
- Last Synced: 2024-08-02T20:46:00.938Z (5 months ago)
- Language: Python
- Size: 3.45 MB
- Stars: 14
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-xapi - codec-dashboard - Web dashboard to display/alert on codec information (by gsheppar). (Code Samples)
README
# codec-dashboard
Building a Web dashboard to display/alert on codec information
* Email alerts for network and SIP registration problems
* Web Dashboard Network, SIP, Diag and Packet Loss Alerts
* Web Dashboard Active call and room occupied displays
* Web Dashboard Survey and call detail reports
* Web Dashboard Survey graphs![alt text](./static/screenshot.png "screenshot")
Files:
* boy.py = main file that receives POST from codec, and responds to web requests
* config.py = contains all variables (username, password, ect..)
* roomcontrolconfig.xml = for customizing Touch10 panels
* actions.py = contains functions for interacting with the codec
* templates.py = this contains the xml formatted data structure for various commands that will be sent to the codec
* templates.py = this contains the xml formatted data structure for various commands that will be sent to the codec
* codec.json = All the current known codecs to monitor
* Survey = Folder that stores all the survey feedbackTasks:
1. Update config-example.py to include your credentials and modify name to config.py
2: virtualenv venv
3: source venv/bin/activate
4: pip install -r requirements.txt
5: python bot.pyVerification:
At this point you should have a basic webserver up and running at http://127.0.0.1:5000/Adding or Removing Codecs:
To add codecs you can register them via the command below and the app will start monitoring then. Recommend to put this in your codec startup script
* xcommand HttpFeedback Register FeedbackSlot: 1 ServerUrl: http://10.116.250.182:5000/codec Format: JSON Expression: /Event/CallDisconnect Expression: /Event/UserInterface/Message Expression: /Status/Call Expression: /Event/UserInterface/Extensions/Widget
To remove codecs you must delete them from the codec.json file