Files
go-sip/deploys/env/agent.env.example
T

34 lines
1.6 KiB
Bash

# Production physical-host example. Inject secrets and approved paths out of band.
SIP_GO_AGENT_MODE=real
AGENT_ID=agent-cell-a
AGENT_VERSION=0.1.0-p1.20260919
CELL_ID=cell-a
AGENT_SPOOL=/var/lib/sip-go-agent/agent/spool
AGENT_GRPC_LISTEN=0.0.0.0:19090
MTLS_CA_FILE=/etc/sip-go-agent/pki/ca.pem
MTLS_CERT_FILE=/etc/sip-go-agent/pki/agent.pem
MTLS_KEY_FILE=/etc/sip-go-agent/pki/agent.key
MTLS_SERVER_NAME=agent-cell-a.internal
# Approved Dispatcher management address; upload data goes Agent -> OSS directly.
# DISPATCHER_GRPC_ENDPOINT=<dispatcher-management-address>:19443
# DISPATCHER_GRPC_SERVER_NAME=dispatcher.internal
DISPATCHER_AGENT_ENDPOINTS_FILE=/etc/sip-go-agent/agent-endpoints.json
AGENT_STATIC_ARTIFACT=/etc/sip-go-agent/artifacts/cell-a.json
AGENT_CALL_BUSINESS_LOG=/var/lib/sip-go-agent/agent/call-business.jsonl
# AGENT_CALL_PHONE_LOG_KEY=<injected-secret-at-least-16-bytes>
# Optional one-shot flow inputs; mode selects adapters, not a separate business path.
# AGENT_CALL_TARGET=<raw-approved-target-number>
# AGENT_CALL_TRUNK_ID=<enabled-trunk-id>
# AGENT_CALL_CALLER_ID=<approved-caller-profile>
# AGENT_CALL_MEDIA_BIND=127.0.0.1
# AGENT_CALL_MEDIA_PORT=12000
# AGENT_CALL_RECORDING_DIR=/var/lib/sip-go-agent/recordings
# AGENT_CALL_AI_SNAPSHOT=/etc/sip-go-agent/ai/full-ai-v1.json
# Required only when DISPATCHER_GRPC_ENDPOINT is enabled for --call-once evidence:
# AGENT_CALL_TENANT_ID=<approved-tenant-id>
# AGENT_CALL_TENANT_KEY=<approved-tenant-key>
# AGENT_CALL_TASK_ID=<approved-task-id>
# AGENT_CALL_TASK_ITEM_ID=<approved-task-item-id>
RABBITMQ_EXCHANGE=agent-call.commands.v1
# RABBITMQ_URL=<injected-broker-url>