Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (30 loc) · 1023 Bytes

INSTALL.md

File metadata and controls

33 lines (30 loc) · 1023 Bytes

Installation instructions for softphone.

Until this issue is implemented in the official project, follow the instructions below to set up an instance of softphone.

1a. Install PJSIP (patch by: malarinv)

sudo apt install python3 python3-dev build-essential libasound2-dev
wget https://github.com/DiscordPhone/pjproject/archive/py37.zip
unzip py37.zip
cd pjproject-py37
chmod +x configure aconfigure
./configure CXXFLAGS=-fPIC CFLAGS=-fPIC LDFLAGS=-fPIC CPPFLAGS=-fPIC
make dep
make
sudo make install

1b. Install PJSUA Python bindings for PJSIP

cd pjproject-py37/pjsip-apps/src/python
python3 setup.py build
sudo python3 setup.py install

2. Install softphone python package

git clone [email protected]:DiscordPhone/softphone.git
python3 -m pip install -e softphone
python3 -m pip install -r softphone/requirements.txt

Or:

python3 -m pip install https://github.com/DiscordPhone/softphone/archive/master.zip --user