Sign inSign up

signalwire/snippets-queue-request-callback

By signalwire

Updated over 6 years ago

Image
0

80

signalwire/snippets-queue-request-callback repository overview

Setup Your Enviroment File

  1. Copy from example.env and fill in your values
  2. Save new file callled .env

Your file should look something like this

## This is the full name of your SignalWire Space. e.g.: example.signalwire.com
SIGNALWIRE_SPACE=
# Your Project ID - you can find it on the `API` page in your Dashboard.
SIGNALWIRE_PROJECT=
#Your API token - you can generate one on the `API` page in your Dashboard
SIGNALWIRE_TOKEN=
# The phone number you'll be using for this Snippets. Must include the `+1` , e.g.: +15551234567
SIGNALWIRE_NUMBER=

Build and Run on Docker

Lets get started!

  1. Use our pre-built image from Docker Hub
For Python:
docker pull signalwire/snippets-queue-request-callback:python

(or build your own image)

  1. Build your image
docker build -t snippets-queue-request-callback .
  1. Run your image
docker run --publish 5000:5000 --env-file .env snippets-queue-request-callback
  1. The application will run on port 5000

More Documentation

You can find more documentation on LaML, Relay, and all Signalwire APIs at:

Tag summary

Content type

Image

Digest

Size

344.1 MB

Last updated

over 6 years ago

docker pull signalwire/snippets-queue-request-callback:python