I find it pretty annoying to compile PJSIP on all hosts that I use by hand.
It is quite error-prone and the procedure is quite time-consuming.
So, I created the scripts to setup an Ubuntu packet (at the moment only 13.04). It is available as PPA here: https://launchpad.net/~ dennis.guse/+archive/sip-tools
On Ubuntu do the following:
sudo add-apt-repository ppa:dennisguse/sip-tools
sudo apt-get update
sudo apt-get install libpjsip-dev python-pjsip
Features:
* Python-bindings
* SSL
Missing Features:
* Video (some dependencies are missing in Ubuntu 13.04 and will come with 13.10).