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

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

The Digium Phone Module for Asterisk and the g729a, silk, siren7 and siren14 codec binary modules hosted at 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 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:

<member name="codec_g729a" displayname="Download the g729a codec from Digium. A license must be purchased for this codec. See">
  <!-- Tell the installer this is an external module -->
  <!-- xmlstarlet is required for the downloader to parse the module's manifest file -->
  <!-- 'remote_url' is the location of the module's base directory -->
  <member_data><downloader remote_url=""/></member_data>

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

4 Responses

  1. Downloading the codecs requires both bash and xmlstarlet to be installed. Most folks have bash but you may need to install xmlstarlet.

Leave a Reply

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

The reCAPTCHA verification period has expired. Please reload the page.

About the Author

What can we help you find?