Digium Siren14 Software Codec for Asterisk README for Version 1.0.x modules ============================================================================== Digium offers a software implementation of Siren14 that is compatible with Asterisk and is properly licensed from the intellectual property rights and patent holders. Follow the instructions below to download and install the Digium Siren14 Software Codec for Asterisk. ==[ Installation Overview ]=================================================== There are three primary tasks to perform in order to install the Siren14 software codec. 1) Download and execute the 'benchsiren14' utility to determine the optimum build. 2) Use the 'Siren14 Selector' web utility to determine the recommended Siren14 codec binary download package. 3) Download and install the 'codec_siren14' binary that is built for your platform. The steps to complete these tasks are described in the Installation Procedure section. The benchsiren14 utility may be downloaded from: http://downloads.digium.com/pub/telephony/codec_siren14/benchsiren14 The Siren14 Selector may be viewed from: http://www.digium.com/en/docs/SIREN14/siren14-download.php The Siren14 codec binary may be downloaded from: http://downloads.digium.com/pub/telephony/codec_siren14 Notes: - Supported software builds are provided for 32-bit and 64-bit x86 platforms, and are optimized for a variety of processor types. Choose the directory that closest matches your Asterisk version and processor type. Each of these directories contains codec TAR files which include the Siren14 codec binary for each type of supported processor. ==[ Installation Procedure ]================================================== 1) Download and execute the benchsiren14 utility to determine the optimum build. There are various optimized versions of the Siren14 codec binary available for different CPU types in both x86-32 and x86-64 architectures. To determine which build of the module performs best on your system, the benchsiren14 utility will run a series of tests, and report which codec module will maximize encoding performance on your system. 1.1) Download the benchsiren14 utility to the root home directory of your Asterisk server. Command-line Example for 32-bit Linux: # cd /root # wget http://downloads.digium.com/pub/telephony/codec_siren14/\ benchsiren14/x86-32/benchsiren14-1.0.0-x86_32 -O benchsiren14 1.2) Change the permissions of the /root/benchsiren14 file to r-x------. Command-line Example: # chmod 500 /root/benchsiren14 1.3) Run the benchsiren14 utility and record the build that it recommends should be used for your platform. Command-line Example: # /root/benchsiren14 2) Use the 'Siren14 Selector' web utility to determine the recommended Siren14 codec binary download package. Depending upon your version of Asterisk and processor architecture, different Siren14 codec binaries are recommended for the use of Siren14. Digium provides a Siren14 Selector web utility in order to assist with choosing the correct Siren14 codec binary. The Siren14 Selector web utility should be viewed with a standard web browser and may be accessed via the following URL: http://www.digium.com/en/docs/SIREN14/siren14-download.php The file that the Siren14 Selector web utility informs you is recommended for your platform should be the file that you use in place of the examples provided in step 3 of this section. 3) Download and install the codec_siren14 binary that is built for your platform. The Siren14 codec module is only available for Asterisk versions 1.6.2.0 and later. Take note that these modules are *not* loadable in prior releases of Asterisk, and will only load in the specific version for which they are designed. Be sure that you download the correct version of the Siren14 codec binary for your Asterisk version, as recommended by the Siren14 Selector web utility in step 2. In addition, updated builds of the Siren14 codec binary are frequently released. Each build has a 'version number'. This version number is part of the filename, and is also included in the copyright/license message that is displayed when the module is loaded into Asterisk. In this document, build number '1.0.0' has been used as an example. Keep in mind that the current build number may be newer when you read this document. 3.1) Download Siren14 to the root home directory of your Asterisk server, replacing 'pentium4m' in the example with the recommended build and '_32' in the example with your CPU architecture. Command-line Example for 32-bit Linux: # cd /root # wget http://downloads.digium.com/pub/telephony/codec_siren14/\ asterisk-1.6.2/x86-32/codec_siren14a-1.6.2_1.0.0-pentium4m_32.tar.gz 3.2) Expand the codec_siren14 archive and copy the codec_siren14a.so file to the /usr/lib/asterisk/modules directory. Command-line Example for 32-bit Linux: # tar xzvf codec_siren14a-1.6.2_1.0.0-pentium4m_32.tar.gz # cp /root/codec_siren14a-1.6.2_1.0.0-pentium4m/codec_siren14a.so /usr/lib\ /asterisk/modules 3.3) The Siren14 codec binary must be loaded in order to utilize Siren14 channels. Command-line Example: # asterisk -rx "module load codec_siren14a.so" ==[ General Notes ]=========================================================== - It is not required or suggested to specify a load line in the /etc/asterisk/modules.conf for the codec_siren14a.so file. Asterisk will automatically load it using the autoload option. The autoload option is set on by default. ==[ Asterisk CLI Commands ]=================================================== The Siren14 codec binary provides the following Asterisk CLI commands: "siren14 show version" These are explained in greater detail below. - Issuing "siren14 show version" on the Asterisk CLI will display the Siren14 codec binary version. Command-line Example: # asterisk -rvvv *CLI> siren14 show version Digium Siren14A Module Version 1.6.2_1.0.0 (optimized for pentium4m_32) ==[ Technical Support ]======================================================= For more help, please visit the Siren14 category of the Digium Knowledgebase: http://kb.digium.com/?CategoryID=30 If you have any questions or concerns, contact Digium Technical Support by phone, either toll-free within the US at 1.877.DIGIUM.1(1.877.344.4861) or directly at +1.256.428.6000. You may also contact Digium Technical Support by visiting http://www.digium.com/support. ==============================================================================