feat: add configurable Bailian AI cell call runtime

This commit is contained in:
2026-09-14 23:10:39 +08:00
parent 9bade94ada
commit 5dd69b8779
36 changed files with 6455 additions and 30 deletions
+25
View File
@@ -6,6 +6,13 @@ ASR_WEB_PORT=18088
PUBLIC_ORIGIN=
BAILIAN_API_KEY=
# AI text/TTS adapters use these server-side values; never put them in MQ or agent versions.
BAILIAN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
BAILIAN_WSS_BASE_URL=wss://dashscope.aliyuncs.com/api-ws/v1/inference/
BAILIAN_TTS_WSS_BASE_URL=
BAILIAN_TTS_MODEL=
BAILIAN_TTS_VOICE=
BAILIAN_ASR_MODEL=fun-asr-realtime
FUNASR_API_KEY=
BAILIAN_ASR_MODELS=fun-asr-realtime
BAILIAN_WS=wss://dashscope.aliyuncs.com/api-ws/v1/inference/
@@ -16,6 +23,24 @@ VOLC_ACCESS_TOKEN=
VOLC_RESOURCE_ID=volc.bigasr.sauc.duration
VOLC_WS=wss://openspeech.bytedance.com/api/v3/sauc/bigmodel
# RabbitMQ / real Cell worker (values are illustrative; inject secrets at runtime).
RABBITMQ_DEFAULT_USER=
RABBITMQ_DEFAULT_PASS=
RABBITMQ_URL=amqp://user:password@127.0.0.1:5672/%2F
RABBITMQ_PORT=5672
AGENT_CALL_AI_PROFILE=/app/configs/ai-test.bailian.example.yaml
AGENT_CALL_PROMPT_FILE=/app/prompts/test-call.txt
AGENT_CALL_TENANT_KEY=
AGENT_CALL_EXECUTION_LEDGER=/data/cell-executions.sqlite3
CELL_ARI_URL=http://127.0.0.1:8088
CELL_ARI_USERNAME=outbound
CELL_ARI_PASSWORD=
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
# Optional Asterisk deployment: fill after verifying the approved image/version.
ASTERISK_IMAGE=
# ARI_PASSWORD and SIP_PRIMARY_PASSWORD/SIP_BACKUP_PASSWORD go to the renderer