Asterisk codec g729 installation
-
Hi,
I've decided to buy a $10 g729 license & try to install it (Asterisk 1.8.26.1, pfSense 2.1.5 (amd64), Intel x64 processor):
http://www.digium.com/en/products/software/g729-codecMy Asterisk "sip.conf" file has "allow=g729"
I was unable to run "benchg729" as there's no version for FreeBSD but only for Linux… see:
http://kb.digium.com/articles/Configuration/How-do-I-register-a-G729-licenseI've successfully run the "register" utility for FreeBSD (Linux version doesn't work)…
Here's the best executable I found:
http://downloads.digium.com/pub/register/unsupported/FreeBSD-6.1/x86-64/register… and my .lic (license) file name "G729-X??.lic" was created successfully in "/var/lib/asterisk/licenses"
(I've hidden the license end number with "??").I tried the best possible codec for me: (Nocona is Intel old Xeon)
http://downloads.digium.com/pub/telephony/codec_g729/unsupported/asterisk-1.4/FreeBSD-7.0/x86-64/codec_g729a_v33_nocona.tar.gzYou can navigate to try to find a better codec here:
http://downloads.digium.com/pub/telephony/codec_g729/Even if Asterisk 1.4 & FreeBSD 7.0 are old, it seems to work since if I try to load the codec:
asterisk -rx "module load codec_g729a.so"
I get:
"Unable to load module codec_g729a.so
Command 'module load codec_g729a.so' failed."
"loader.c: Module 'codec_g729a.so' does not provide a license key."…My log file says :
[Aug 28 08:53:49] WARNING[85703] loader.c: Module 'codec_g729a.so' does not provide a license key.
[Aug 28 08:53:49] WARNING[85703] loader.c: Module 'codec_g729a.so' could not be loaded.If it wouldn't work, it wouldn't ask for the license key, right?
The only problem I have is I can't find the right place/directory where to put my license file (.lic) in…
I found this:
http://kb.digium.com/articles/Configuration/Copy-protection-activation-failing-for-licensesMy "asterisk.conf" file said my "astvarlibdir" was set to "/usr/pbi/asterisk-amd64/share/asterisk",
so I copied my .lic file to "/usr/pbi/asterisk-amd64/share/asterisk/licenses/".I even "chmod 644" and "chown asterisk:asterisk" my .lic file… but my log file still says:
"loader.c: Module 'codec_g729a.so' does not provide a license key."…Any idea where should I put my .lic file to??
I unsucessfully tried:
/usr/local/lib/asterisk/modules/G729-??.lic
/usr/local/lib/asterisk/licenses/G729-??.lic
/usr/local/lib/asterisk/G729-??.lic
/usr/pbi/asterisk-amd64/lib/asterisk/licenses/G729-??.lic
/usr/pbi/asterisk-amd64/share/asterisk/licenses/G729-??.lic
/usr/pbi/asterisk-amd64/share/asterisk/G729-??.lic
/var/lib/asterisk/licenses/G729-??.lic
/var/lib/asterisk/G729-??.lic
/var/lib/digium/licenses/G729-??.lic
/var/lib/digium/G729-??.licDigium tech support says: "Unfortunately since it's not a supported system, I'm not sure where the .lic file would go.
I would assume it would be the same place as on a supported system but I have no way of testing this theory."Thanks!
-
Has anyone succeeded in making G729 run on pfSense??