[asterisk-users] Asterisk now available with bundled pjproject!

George Joseph george.joseph at fairview5.com
Mon Mar 7 13:28:23 CST 2016


The current Asterisk 13 and master git branches have a new feature that
will be included in 13.8.0:  The ability to compile and run Asterisk with a
bundled version of pjproject.
​​

Why would you want to do this?  Several reasons:

   - Predictability:  When built with the
   ​bundled
    pjproject, you're always certain of the version you're running against,
   no matter where it's installed.
   - Scalability:  The default pjproject configuration is optimized for
   client applications. The bundled version's configuration is optimized for
   server use.
   - Usability:  Several feature patches, which have been submitted
   upstream to pjproject but not yet released, have been included in the
   bundled version.
   - Safety:  If a security or critical issue is identified in pjproject,
   it can be patched and made available with a new release of Asterisk instead
   of
   ​having to ​
   waiting for a new release of pjproject
   ​​
   .
   - Maintainability:  You don't need to build and install separate
   packages.
   - Supportability:  When asking others for help, there's no question
   about which version of pjproject you're using and what options it was
   compiled with.
   - Compatibility:  This is especially important from a development
   perspective because it means we can be sure that new pjproject APIs that
   have been introduced
   ​,​
   or old ones that have been deprecated
   ​,​
   are handled and tested appropriately in Asterisk.
   - Reliability:  You can be sure that Asterisk was tested against the
   bundled version.


So now that you're sold, here's how you use it:

All you have to do is add the "--with-pjproject-bundled" option to your
./configure command line and remove any other "--with-pjproject" option you
may have specified.  The configure and make processes will download the
correct version of pjproject, patch it, configure it, build it and finally
link Asterisk to it statically.  No changes in runtime configuration are
required.

Still not sold?  The default behavior hasn't changed so as long as you
haven't specified "--with-pjproject-bundled", your build and deploy process
remains as is.

PLEASE TRY THIS!!  I'd love some feedback BEFORE 13.8.0 is released.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160307/f046d13a/attachment.html>


More information about the asterisk-users mailing list