/asterisk_tg_bot

asterisk_tg_bot

Primary LanguagePython

asterisk_tg_bot

asterisk_tg_bot

functions

"/help", "/userid", "/server_info", "/size_rec", "/get_manager", "/pbx_peers", "/pbx_queue", "/last_calls"

Install

  • cd /srv
  • git clone https://github.com/akolomyts/asterisk_tg_bot.git
  • pip install pyTelegramBotAPI
  • cd ./asterisk_tg_bot
  • cp ./config.py.example ./config.py
  • edit config.py and write your tokens
  • cp ./telegram-bot.service /etc/systemd/system/
  • systemctl daemon-reload
  • systemctl start telegram-bot.service