Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 977 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 977 Bytes

Project Setup

  • Install virtualenv_wrapper
  • $ mkvirtualenv -p /usr/bin/python3 canphone
  • $ workon canphone
  • $ pip install -r requirements.txt
  • $ pip install -r requirements-dev.txt

Required packages

apt install baresip
apt install mosquitto 
apt install libasound2-dev
apt install rpi.gpio

Eventphone extension

  • Create account at eventphone.de
  • Create extension there

Configuration

  • Copy baresipconf folder to ~/.baresip
  • Alter files accounts to match your extension credentials
  • Adjust contacts file to match other canphone
  • Change /usr/share/alsa/alsa.conf
    • set defaults.ctl.card 1
    • set defaults.pcm.card 1
  • Add bind_address localhost in /etc/mosquitto/mosquitto.conf to bind broker to pi only

SystemD services

  • Copy and enable service files under systemd_service_files

clone the git at github: sake/canphone

then cd into the the directory and do: $ pip3 install -r requirements.txt $ pip3 install -r requirements-dev.txt