Files
voicebot/.env.example
2026-07-18 01:25:01 +03:30

33 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ==========================================================
# فایل تنظیمات مرکزی پروژه چت‌بات تلفنی
# این تنها فایلی است که باید برای راه‌اندازی ادیت کنی.
# بعد از تغییر، کافیه: docker compose up -d --build
# ==========================================================
# ---------- Ollama ----------
OLLAMA_URL=http://OLLAMA_HOST:11434/api/generate
OLLAMA_MODEL=llama3
# ---------- STT (faster-whisper) ----------
WHISPER_MODEL=medium
WHISPER_DEVICE=cpu
# ---------- TTS (Piper) ----------
PIPER_VOICE=/models/piper/fa_IR-model.onnx
# ---------- ترانک مرکز تماس شماره ۱ (SIP Trunk) ----------
TRUNK1_NAME=callcenter1
TRUNK1_HOST=CALLCENTER1_IP
TRUNK1_USERNAME=USERNAME
TRUNK1_PASSWORD=CALLCENTER1_PASS
# ---------- ترانک مرکز تماس شماره ۲ (اختیاری - اگر نداری خالی بذار) ----------
TRUNK2_NAME=
TRUNK2_HOST=
TRUNK2_USERNAME=
TRUNK2_PASSWORD=
# ---------- SIP User داخلی (برای تست با سافت‌فون) ----------
TEST_USER_EXTEN=1000
TEST_USER_PASSWORD=CHANGE_ME_STRONG_PASSWORD