README.md (587B)
1 freepbx-glue 2 ============ 3 4 freepbx-glue is a simple python daemon designed to parse logs output by 5 Asterisk/FreePBX. 6 7 It currently handles three states: 8 9 * The receiver is ringing 10 * The receiver has answered 11 * The receiver has hung up 12 13 Whenever a daemon enters one of these states, it will issue a callback 14 to an HTTP API running on the calling station. 15 16 17 Dependencies 18 ------------ 19 20 ``` 21 python3-requests 22 ``` 23 24 25 Deploying 26 --------- 27 28 On the FreePBX machine, this daemon can be executed by running the 29 following command as root: 30 31 ``` 32 # tail -f /var/log/asterisk/full | ./freepbx_glue.py 33 ```