how to install Free g729 codec in Asterisk vicidial
TOPIC: Free G729 Codec installation in Asterisk
In this article you will learn how to install Free G729 codec in Asterisk based dialers and PBX like vicidial, Goautodial, Freepbx, Elastix, Issabel, Vitalpbx. The Free g729 codec is available from the asterisk.hosting.lv website.
Apart from Free G729 codec, I do recommend to use the official G729 codec provided by digium or sangoma either software version or hardware g729 cards.
free g729 codec installation in asterisk |
What is CODEC ?
A Codec is a technical term for the following variations, which essentially mean the same thing: compression – decompression / compressor – decompressor / Code Decode.
A codec is a hardware- or software-based process that compresses and decompresses large amounts of data's like audio files in VOIP.
Checkout my vicidial scratch install document
G729 vs G711
G.729 and G.711 are two different codecs used by mainstream voice-over-internet-protocol (VoIP) systems that transmit phone calls as data over the internet. G.711 offers better audio quality,but requires more bandwidth. G.729, on the other hand, requires less bandwidth, but call quality can suffer
Follow the below steps to install the proper G729 codec for asterisks
Bandwidth of G.729 vs G.711?
On average, a call made over G.729 consumed about 8 Kbps of bandwidth per call because it compresses the data being transmitted over the internet. In comparison, G.711 uses 64 Kbps for its uncompressed call data.
Why we need G729 in asterisk
1.Less bandwidth consumption.
2.If VOIP provider only support G729 codec.
3.User dialing via low speed internet.
How to install Free G729 codec?
- Install using the automated Script provided by vicidial, download from vicidial repo download.vicidial.com.
- install manually based on asterisk version ,OS bit size , and CPU vendor type
OPTION 1: Automated Install g729 with vicidial script
If you are using Vicibox ,then just type codec-install to install g729 codec automatically.
wget http://download.vicidial.com/optional-apps/codec-install.shchmod 777 codec-install.sh./codec-install.sh
OPTION 2: Manual Install G729 codec
1. 32 bit or 64 bit OS2. asterisk version3. server type like: intel, amd
uname -aif output shows i386 then its 32bitif outout shows x86 then its 64bit
asterisk -rx "core show version"
cat /proc/cpuinfo
As of writing this blog article my asterisk verision is 1.8, 64bit
cd /usr/srcwget https://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-pentium4.socp codec_g729-ast18-gcc4-glibc-pentium4.so /usr/lib/asterisk/modules/codec_g729.sochmod +x /usr/lib/asterisk/modules/codec_g729.soasterisk -rc "module load codec_g729.so"
cd /usr/srcwget https://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-x86_64-pentium4.socp codec_g729-ast18-gcc4-glibc-x86_64-pentium4.so /usr/lib64/asterisk/modules/codec_g729.sochmod +x /usr/lib64/asterisk/modules/codec_g729.soasterisk -rc "module load codec_g729.so"
cd /usr/srcwget https://asterisk.hosting.lv/bin/codec_g729-ast18-gcc4-glibc-athlon-sse.socp codec_g729-ast18-gcc4-glibc-athlon-sse.so /usr/lib/asterisk/modules/codec_g729.sochmod +x /usr/lib/asterisk/modules/codec_g729.soasterisk -rc "module load codec_g729.so"
Asterisk Command to Check G729 status.
asterisk -rx "core show translation"
how can i get goautodial usb installer
download goautodial iso and use any iso to usb maker software.