Installing free G729 Codec for Vicidial, Vicibox or GoAutodial.
Installing the G729 codecs is advised on those extremely limited on bandwidth. Here in the Philippines its pretty much used all over the place. I actually bought my codecs from Digium but anyway here is the tutorial on installing the free G729 codec.
First of all I advise being familiar with Asterisk and a very friendly command “Find”.
find / –name (example – find / –name Asterisk).
Why this is important is that although most of the systems are built on the same technology their file structures differ between not only versions but also if its 32bit or 64bit. Using the “Find” command you can find the files and folders you need.
Your very likely to need it now to “find” modules :-
Next thing is your likely to need one of these 2 codecs :-
(AMD or Intel basically). But it can also differ on version of Asterisk etc. etc.
# wget http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium.so (change the .so for which version you need!)
We are in the modules folder where the codecs are kept, now we just need to rename the g729 to match something the system recognises.
mv codec_g729-ast14-gcc4-glibc-pentium4.so codec_g729.so
Now that is done we can restart Asterisk but the “Find” command will come into play again.
Now we can go into Asterisk and see if our lovely new codec is alive!
If it looks like this you’ve done it! The G729 codec is showing but if its not it will be blank. Which if it is blank it means its the wrong version, not a major crisis just a bit of looking around to make sure you get the right codec to suit your system.
Use the following commands to help identify which codec you need.
asterisk -V uname -a