fix: restore SIP fallback env vars in .env.production
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

use-sip-phone.ts reads VITE_SIP_* as fallback before login response
provides per-agent config. Keep them for safety.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-13 09:11:04 +05:30
parent eadfa68aaa
commit 113b5a9277

View File

@@ -1,4 +1,9 @@
# EC2 deployment — Caddy reverse-proxies /auth/* and /api/* to the sidecar # EC2 deployment — Caddy reverse-proxies /auth/* and /api/* to the sidecar
# on the same domain, so VITE_API_URL is empty (same-origin). # on the same domain, so VITE_API_URL is empty (same-origin).
# SIP config is per-agent from the Agent entity (returned at login), not env vars.
VITE_API_URL= VITE_API_URL=
# SIP defaults — used as fallback if login response doesn't include agent config.
# Per-agent SIP config from the Agent entity (returned at login) takes precedence.
VITE_SIP_URI=sip:523590@blr-pub-rtc4.ozonetel.com
VITE_SIP_PASSWORD=523590
VITE_SIP_WS_SERVER=wss://blr-pub-rtc4.ozonetel.com:444