Automatically Download Binary Modules: New Feature in Asterisk 13.12 and 14.1

By George Joseph

The Digium Phone Module for Asterisk and the g729a, silk, siren7 and siren14 codec binary modules hosted at downloads.digium.com can now be automatically downloaded and installed during the Asterisk install process. If selected in make menuselect under the ‘External’ sections of ‘Resource Modules’ and ‘Codec Translators’ respectively, ‘make install’ will check the downloads.digium.com web site for the correct version of the tarball and download and install it if needed.  The ‘–with-externals-cache’ option to ./configure can be used to specify a location to cache the latest tarballs so they don’t have to be re-downloaded for every install.

This new capability can be extended to custom binary modules.  Simply create or update the category’s module info xml file with a new ‘member’ element describing the external module.  Here’s an example from codecs/codecs.xml:

The module’s remote directory structure must follow that of the modules on downloads.digium.com and must contain a similar manifest file.  With that, the module should be downloaded and installed as the standard ones are.

There Are 4 Comments

Add to the Discussion

Your email address will not be published. Required fields are marked *

About the Author

George Joseph

See All of George's Articles

More From
The Digium Blog

  • No items