- Install virtualenv_wrapper
- $ mkvirtualenv -p /usr/bin/python3 canphone
- $ workon canphone
- $ pip install -r requirements.txt
- $ pip install -r requirements-dev.txt
apt install baresip
apt install mosquitto
apt install libasound2-dev
apt install rpi.gpio
- Create account at eventphone.de
- Create extension there
- 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
- 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