Files
mikopbxbot/.env.example
2026-06-24 17:09:24 +03:00

23 lines
654 B
Plaintext
Raw 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.
# MikoPBX configuration
MIKOPBX_HOST=http://your-mikopbx-ip-or-host:8081
# === РЕКОМЕНДУЕТСЯ: Bearer Token (самый стабильный способ) ===
MIKOPBX_API_TOKEN=твой_токен_сюда
# Fallback (если токен не указан)
MIKOPBX_ADMIN_LOGIN=admin
MIKOPBX_ADMIN_PASSWORD=твой_пароль
# Telegram Bot
TELEGRAM_BOT_TOKEN=your-telegram-bot-token-here
ADMIN_TELEGRAM_IDS=123456789,987654321
# Bot settings
DB_PATH=/app/data/bot.db
DEFAULT_SIP_SERVER=your-mikopbx-host
DEFAULT_SIP_PORT=5060
DEFAULT_SIP_DOMAIN=your-mikopbx-host
DEFAULT_SIP_TRANSPORT=UDP
DEFAULT_SIP_OUTBOUND_PROXY=
DEFAULT_SIP_STUN=