asterisk-misc/ring_mon
2022-03-15 19:12:59 +01:00
..
apply-state avoid zombies 2022-03-15 19:12:59 +01:00
example-state.json example files/scripts for apply-state 2022-03-04 02:35:29 +01:00
get-status example files/scripts for apply-state 2022-03-04 02:35:29 +01:00
README.md ring_mon readme 2022-03-04 02:40:18 +01:00
ring.py ring has on_save hook 2022-03-15 19:03:27 +01:00
set-light example files/scripts for apply-state 2022-03-04 02:35:29 +01:00

ring_mon

ring.py will get data from asterisk and create a simple json file.

apply-state handles blinking patterns and similar stuff, so that a single light can provide info on a phone. It uses helper scripts instead of configuration: get-status is a --bin-state helper; set-light is a --bin-set-light example.

So what?

./ring.py --state-file state.json &
./apply-state --devices 1,2