Required infrastructure
Set
BACKEND_URL and PUBLIC_BACKEND_URL to the same externally reachable API origin. Ringee writes callback and tool URLs under:
Environment variables
The voice leg also uses
TELNYX_API_KEY, normal call margin settings and Ringee’s storage configuration for recovered recordings. Set TELNYX_OUTBOUND_VOICE_PROFILE_ID to pin calls to an explicit Telnyx billing route; if it is omitted, Ringee leaves the provider’s default route in place.
Models and BYOK
Self-hosters control the concrete model behind each stable UI choice. Changing a model setting changes what is used the next time an agent is synchronized; the stored agent keeps the provider family, not a user-selected arbitrary model id. OpenAI, Anthropic and Google keys are supplied per agent. Ringee verifies the key, hands it to the voice provider’s secret store and persists only the reference.Cost and artifact reconciliation
The provider can publish call cost, recording and transcript data after the call has ended. Ringee’s scheduled sweep therefore:- binds any missing provider conversation id;
- repairs a stalled call timeline from usage records;
- settles the AI and telephony costs exactly once;
- retries recording and transcript recovery for up to 6 hours.
Production checklist
BACKEND_URLandPUBLIC_BACKEND_URLcontain the same public HTTPS origin.- Telnyx can reach
/api/call/webhookand the generated voice-agent callback URLs. - When set,
TELNYX_OUTBOUND_VOICE_PROFILE_IDbelongs to the same provider account. - PostgreSQL, Redis and Temporal are reachable by both backend and worker.
- At least one Ringee number is eligible for AI voice agent outbound use.
- The maximum call and test-session durations match your risk policy.
- Credit and call margins are set deliberately.
- Recording storage and retention follow your consent and compliance policy.
Next steps
Configuration reference
All Ringee environment categories
API reference
Build an authenticated integration

