Awesome
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
- 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 feedback
- 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.py
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