Skip to content

Instantly share code, notes, and snippets.

@bilson
Forked from bgunebakan/pjsip_install.sh
Created May 26, 2022 02:50
Show Gist options
  • Save bilson/533b9a488c54799d22c1e4394de8d2ea to your computer and use it in GitHub Desktop.
Save bilson/533b9a488c54799d22c1e4394de8d2ea 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