.
This commit is contained in:
parent
eeda32a9b2
commit
e865fcdd36
3 changed files with 35 additions and 0 deletions
21
config.template.py
Normal file
21
config.template.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# config.template.py
|
||||
|
||||
# Yeastar webhook config
|
||||
# Get the webhook URL from the channel configuration
|
||||
# Set a secret in the channel configuration and put that here.
|
||||
YEASTAR_WEBHOOK_URL = "https://your-yeastar-webhook-url"
|
||||
YEASTAR_SECRET = "your-yeastar-secret"
|
||||
|
||||
# VOIP.ms SOAP endpoint (Farily static, update this if it changes in the future)
|
||||
VOIPMS_ENDPOINT = "https://voip.ms/api/v1/server.php"
|
||||
|
||||
# Make this something semi-random and URL safe. Adds obscurity and makes your endpoint harder to guess
|
||||
ENDPOINT_OBSCURITY = "abcdefghijklmnopqrstuvwxyz"
|
||||
|
||||
# When this is configured and you start your server up, your endpoints will be:
|
||||
# http://your-ip-address:5000/{ENDPOINT_OBSCURITY}/yeastar-outbound <------- point your yeastar sms channel here
|
||||
# and
|
||||
# http://your-ip-address:5000/{ENDPOINT_OBSCURITY}/voipms-inbound <------- point your voip.ms DIDs to post here
|
||||
|
||||
# Endpoints can deliver verbose output for troubleshooting without restarting the proxy.
|
||||
# Just update the channel or did and add "/verbose" to the URL.
|
||||
Loading…
Add table
Add a link
Reference in a new issue