I have acquired 5 g729a codecs from the digium site and followed this readme as follows:
1) Download and execute the 'register' tool to generate a valid license.
1.1) Download the register utility to the root home directory of your
Asterisk server.
** Command-line example for 32-bit Linux:
# Log in as root or use the "su" command to assume root privileges.
cd /root
wget
http://downloads.digium.com/pub/registe ... 2/register
1.2) Change the permissions of the /root/register file to r-x------. Change
the user and group ownership of the /root/register file to "root".
** Command-line example:
chmod 500 /root/register
chown root:root /root/register
1.3) Run the register tool and follow the interactive instructions.
Internet access is required from your Asterisk server in order to
register your G.729 key for licensed use. Outgoing network traffic to
TCP port 443 (SSL) must be allowed in order for the register utility to
successfully communicate with Digium's license server and complete the
registration process. The registration utility will prompt you for your
G.729 license key.
** Command-line example:
/root/register
******************
success - Kerry
2) Download and execute the 'benchg729' tool to select the optimum build.
There are various optimized versions of the codec binary available for
different commonly available CPU types, in both x86-32 and x86-64
architectures. To determine which build of the module performs best on
your system, the 'benchg729' utility will run a series of tests and
report which codec module will maximize encoding performance on your
system.
2.1) Download the benchg729 utility to the root home directory of your
Asterisk server.
** Command-line example for 32-bit Linux:
# Log in as root or use the "su" command to assume root privileges.
cd /root
wget
http://downloads.digium.com/pub/telepho ... g729-1.0.5 -O benchg729
2.2) Change the permissions of the /root/benchg729 file to r-x------.
Change the user and group ownership of the /root/benchg729 file to
"root".
** Command-line example:
chmod 500 /root/benchg729
chown root:root /root/benchg729
2.3) Run the benchg729 tool and record the 'flavor' that it recommends that
you use on your system.
** Command-line example:
/root/benchg729
***************************************************
Success - by, this was done by inputting the new file structure based on version of link:
Ex:
wget
http://downloads.digium.com/pub/telepho ... g729-1.0.5 -O benchg729
wget
http://downloads.digium.com/pub/telepho ... g729-1.0.6 -O benchg729-1.0.6
3) Download and install the 'codec_g729' build for your platform.
There are different versions of the codec for various Asterisk releases;
there is a single version for all Asterisk 1.4.x releases, and there is
a version for each Asterisk 1.6.x point release (1.6.0, 1.6.1, etc.).
Note that these modules are *not* loadable in prior releases of Asterisk,
only the specific version they are designed to be used with. Please be sure
that you download the correct version of the codec for your Asterisk version.
In addition, there are frequently updated builds of the codec binary
posted, and 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 '3.0.1' has been used as an example, but when you read this
document the current build number may be different (higher).
*****************************************************
I basically used the new
3.1) Download the codec_g729 to the root home directory of your
Asterisk server, replacing 'pentium4m' in the example with the
recommended flavor.
** Command-line example:
wget
http://downloads.digium.com/pub/telepho ... m4m.tar.gz
I used the 1.4 directory because i noticed on the vicidial site that the version of the vicidial download had this version of asterisk:
http://www.vicibox.com/server/vicibox-server.html
VICIbox Server includes:
* 2.0.5 astguiclient (VICIDIAL)
* 1.2.30.4 Asterisk
* 1.2.27 Zaptel
* 3.2.7.1 Wanpipe (for Sangoma TDM Cards)
* 1.2.8 Libpri
so the version folder i utilized was:
asterisk-1.4/
** was this incorrect?
3.2) Expand the codec_g729 archive and copy the codec_g729a.so file to the
/usr/lib/asterisk/modules directory.
** Command-line example:
tar xzvf codec_g729a-1.6.0_3.0.1-pentium4m.tar.gz
cp /root/codec_g729a-1.6.0_3.0.1-pentium4m/codec_g729a.so /usr/lib/asterisk/modules
*** did this utilizing the filename of the 1.4 folder, once I did this it just went to the next line.
3.3) Asterisk must be restarted in order to load your new G.729 licensed
channels. (See General Notes to use multiple licenses on one server.)
** Command-line example:
asterisk -rx "restart now"
3.4) Verify that the number of G.729 licensed channels available to Asterisk
matches the number of G.729 licensed channels that you purchased. This
can be verified by issuing "g729 show" in the Asterisk CLI. Take into
consideration any previous G.729 licensed channels that you may have
already had registered to your Asterisk server before verifying this
number.
** Command-line example:
asterisk -rvvv
*CLI> g729 show
0/0 encoders/decoders of 2 licensed channels are currently in use
****when I try to check it at the command prompt of root@vicibox:~#
using command asterisk -rvvv
it says this:
unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
Can anyone help on making sure these codecs are installed correctly.
***********************************************************