Summary:ASTERISK-25993: pjproject: Allow bundling to not require everything it does
Reporter:Joshua C. Colp (jcolp)Labels:
Date Opened:2016-05-04 14:36:09Date Closed:2016-05-09 18:51:27
Versions:Frequency of
Description:Right now the bundling feature for PJSIP is a one size fits all arrangement. The dependencies and build covers a lot of things, some of which are not needed for normal users. For example python bindings or pjsua aren't needed. This issue is for using the information from the main Asterisk configure script to intelligently configure pjproject so that the dependencies are reduced.
Comments:By: George Joseph (gjoseph) 2016-05-07 21:06:56.266-0500

With the last patch, all the audio and codec stuff was removed/disabled.  The only 2 external dependencies left were srtp and resample and I just disabled resample.   There's no ability to disable srtp but there is an internal implementation so pjproject should never be looking for an external one, which I've verified.  Not that we use it for anything anyway.

So, anything else other than the python-dev/pjsua thing?  If not, I'll modify the config process to only build pjsua and the python bindings if both python-dev is installed and TEST_FRAMEWORK is enabled.