# 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"
VOIPMS_3CX_ENDPOINT = "https://voip.ms/api/3cx/msg"

# 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.