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 proxy 1 phone number you'll be using for this Snippets. Must include the `+1` , e$
SIGNALWIRE_NUMBER_1=+14346613376
# The proxy 2 phone number you'll be using for this Snippets. Must include the `+1` , e$
SIGNALWIRE_NUMBER_2=+14346613377
[
{
"Session_Id": "Demo123",
"Participant_A_Number": "+15551237654",
"Participant_B_Number": "+15553883000",
"Proxy_Number": "+15556611212"
},
{
"Session_Id": "Demo234",
"Participant_A_Number": "+15555181212",
"Participant_B_Number": "+12347896543",
"Proxy_Number": "+15556611212"
}
]
Lets get started!
For Python:
docker pull signalwire/snippets-call-text-proxy:python
(or build your own image)
docker build -t snippets-call-text-proxy .
docker run --publish 5000:5000 --env-file .env snippets-call-text-proxy
Content type
Image
Digest
Size
344.1 MB
Last updated
over 6 years ago
docker pull signalwire/snippets-call-text-by-proxy:python