Connects to the websocket of the 3cx wallboard and writes data to a mysql database
I ran this on my CentOS 6 web server, from the command line:
/path/to/ruby /path/to/3cx.rb /path/to/settings.yml
I am running Ruby 2.1.0 on CentOS 6 (all the latest updates)
Make sure the following Ruby libraries are installed:
- mechanize
- faye-websocket
- eventmachine
- permessage_deflate
- json
- httparty
- websocket-extensions
- mysql