To manually install .g729 codec: Login to the system shell as a root user
Go to /opt/pbxware/pw/usr/bin and create symbolic links
cd /opt/pbxware/pw/usr/bin ln -s ../../bin/cat more ln -s ../../bin/cat less Navigate to the Asterisk modules directory cd /opt/pbxware/pw/usr/lib/asterisk/modules/ Download the G729 binary required for your architecture from: http://downloads.digium.com/pub/telephony/codec_g729/asterisk-1.4/x86-32/ If not sure which one to download choose i686 which is compatible with most newer machines. Extract the downloaded files tar zxvf codec_g729***.tar.gz Move the extracted files to the correct location mv ./codec_g729***/codec_g729a.so . Changing file ownership: chmod 755 ./codec_g729a.so chown 555:555 ./codec_g729a.so Go to the register utility download location cd /opt/pbxware/pw/ Download the register utility wget http://downloads.digium.com/pub/register/x86-32/register Change file ownership chmod +x ./register Enter the chroot environment and start the installation chroot . ./register Follow the instructions. (re)Load g729 codec: asterisk -rx 'unload codec_g729a.so' asterisk -rx 'load codec_g729a.so' Enter Asterisk CLIR asterisk -rvvvvvv Check the system response to see if the g729 codec is installed show g729 Exit Asterisk CLIR Press 'CTRL + C' IMPORTANT NOTES a/ Internet access is required from your Asterisk server in order to register your G.729 key for licensed use. Outgoing network traffic on TCP port 5646 must be allowed in order for the register utility to successfully communicate with Digium's License Server and complete the registration process. b/ The alias of the first ethernet device on your Asterisk server must be eth0 in order for the G.729 registration process to complete successfully. The G.729 registration process will not be successful if the first aliased ethernet device starts with eth1, eth2, etc. c/ Take into consideration any previous G.729 licensed channels that you may have already had registered before verifying the total number of licenses registered. d/ It is recommended that g729 is installed through 'Settings: G729' and this method should be used only if web interface licensing doesn't work
|