A simple Asterisk installation with the Respoke channel driver configured to connect to a Respoke application as the endpoint 'musicbot' and play music when called.
-
To build this image, clone the repo and build using docker:
git clone https://github.com/respoke/chan_respoke-musicbot-example.git cd chan_respoke-musicbot-example docker build -t musicbot .
-
run the image:
docker run -e RESPOKE_APP_SECRET=your_application_secret \ --net=host musicbot
-
fire up a web application that connects to the same app, and place a call to the
musicbot
endpointId -
you should hear music play!