added config for virtual phone number

This commit is contained in:
onysd 2026-07-14 18:37:27 +03:00
parent aa2fc45bdd
commit 1eaa06d961
10 changed files with 268 additions and 31 deletions

View file

@ -62,6 +62,15 @@ TELESRV_SMTP_TIMEOUT=10s
# delivery at all.
TELESRV_EMAIL_SIGNUP_ENABLE=false
# Comma-separated list of phone-number prefixes randomly assigned as the
# account's actual, visible short display number (unrelated to the internal
# "888" wire encoding above, which is fixed and never shown to anyone).
# Defaults to "888" alone. Change this to make freshly registered accounts
# look like they have a locally-flavored number, e.g. "888,380,373" — no
# client update needed, since clients never construct this number themselves,
# they only ever display whatever the server assigns.
TELESRV_EMAIL_SIGNUP_PHONE_PREFIXES=888
# Client-visible telesrv links. This is an HTTP(S) URL, not a listen address.
# Production uses https://telesrv.net. For local link/deeplink smoke tests use
# http://127.0.0.1:2401. Invalid schemes, credentials, query strings, fragments,