Skip to content

Instantly share code, notes, and snippets.

@bgunebakan
Last active May 26, 2022 02:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bgunebakan/c6f163be7d88c54b5f53cd4ba9f921bc to your computer and use it in GitHub Desktop.
Save bgunebakan/c6f163be7d88c54b5f53cd4ba9f921bc to your computer and use it in GitHub Desktop.
PJSIP and PJSUA installation on Debian 8.8
#install depencies
apt install python-dev gcc make gcc binutils build-essential
#get pjsip
wget http://www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2
tar -xjf pjproject-2.6.tar.bz2
cd pjproject-2.6
#configure
export CFLAGS="$CFLAGS -fPIC"
#build pjsip
./configure && make dep && make
#build python modules
cd pjsip-apps/src/python/
sudo python setup.py install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment