feat: add configurable Bailian AI cell call runtime
This commit is contained in:
+23
-1
@@ -4,7 +4,9 @@ RABBITMQ_DEFAULT_PASS=replace-before-start
|
||||
RABBITMQ_URL=amqp://agent_call_mock:replace-before-start@rabbitmq:5672/%2f
|
||||
ASR_WEB_TOKEN=local-asr-test
|
||||
# JSON map: token -> tenant IDs and scopes. Inject through a secret manager in real deployments.
|
||||
HTTP_TOKENS={"local":{"tenant_ids":["tenant-demo"],"scopes":["outbound.read","outbound.control","recording.upload","recording.complete"]}}
|
||||
HTTP_TOKENS={"local":{"tenant_ids":["tenant-demo"],"scopes":["outbound.read","outbound.control","recording.upload","recording.complete"]},"ai-publish-local":{"tenant_ids":["tenant-demo"],"scopes":["ai.config.publish"],"auth_domain":"ai-config","issuer":"local-ai-config","audience":"agent-call.ai-config"},"ai-read-local":{"tenant_ids":["tenant-demo"],"scopes":["ai.config.read"],"auth_domain":"ai-config","issuer":"local-ai-config","audience":"agent-call.ai-config"}}
|
||||
AI_CONFIG_ISSUER=local-ai-config
|
||||
AI_CONFIG_AUDIENCE=agent-call.ai-config
|
||||
# Independent SIP management credentials; synthetic local values only.
|
||||
SIP_MANAGEMENT_PORT=18090
|
||||
SIP_ADMIN_TOKENS={"admin-local":{"subject":"ops","issuer":"local","audience":"agent-call.sip-admin","scopes":["*"],"trunk_ids":"*"}}
|
||||
@@ -12,3 +14,23 @@ SIP_READ_TOKENS={"saas-local":{"subject":"saas","issuer":"local","audience":"age
|
||||
AGENT_CALL_MODE=mock
|
||||
BROKER_MODE=rabbit
|
||||
AGENT_CALL_PORT=18080
|
||||
# Real-cell service is disabled by default; these are synthetic placeholders only.
|
||||
AGENT_CALL_TENANT_KEY=tenant-demo-key
|
||||
AGENT_CALL_AI_PROFILE=/app/configs/ai-test.bailian.example.yaml
|
||||
AGENT_CALL_PROMPT_FILE=/app/prompts/test-call.txt
|
||||
AGENT_CALL_EXECUTION_LEDGER=/data/cell-executions.sqlite3
|
||||
BAILIAN_API_KEY=replace-before-start
|
||||
BAILIAN_BASE_URL=https://example.invalid/compatible-mode/v1
|
||||
BAILIAN_WSS_BASE_URL=wss://example.invalid/api-ws/v1/inference
|
||||
BAILIAN_TTS_WSS_BASE_URL=wss://example.invalid/api-ws/v1/realtime
|
||||
BAILIAN_TTS_MODEL=cosyvoice-v3.5-plus
|
||||
BAILIAN_TTS_VOICE=replace-before-start
|
||||
BAILIAN_ASR_MODEL=fun-asr-realtime
|
||||
CELL_ARI_URL=http://127.0.0.1:8088
|
||||
CELL_ARI_USERNAME=outbound
|
||||
CELL_ARI_PASSWORD=replace-before-start
|
||||
CELL_ARI_APP=agent-call
|
||||
CELL_SIP_TRUNK_ID=provider-primary
|
||||
CELL_CALLER_ID=BD93205882
|
||||
CELL_RTP_BIND_HOST=127.0.0.1
|
||||
CELL_RECORDING_DIR=/data/recordings
|
||||
|
||||
Reference in New Issue
Block a user