dmt

source code for the kunsthal art installation
git clone git://parazyd.org/dmt.git
Log | Files | Refs | README | LICENSE

README.md (504B)


      1 http-listener
      2 =============
      3 
      4 http-listener is a small Flask daemon acting as a HTTP API listening for
      5 callbacks from the FreePBX log handler.
      6 
      7 It offers callbacks for `/callanswered` and `/callended`.
      8 
      9 The former will mute the playback of our sound input on the speakers and
     10 enable it on the phone.
     11 
     12 The latter will do the opposite.
     13 
     14 
     15 Dependencies
     16 ------------
     17 
     18 ```
     19 python3-flask python3-mido python3-rtmidi
     20 ```
     21 
     22 
     23 Deployment
     24 ----------
     25 
     26 Deploy this by running `./http_listener.py` on the Caller Station.