Hi All, I have been trying to get the Solaris version of the G729 codec to work with asterisk 1.2.17 and 1.2.22. However, I come up against the very same error every time I try to install it. Has anyone out there seen this error, taken from the asterisk console straight from startup: [codec_g729a.so] => (Annex A/B (floating point) G.729 Codec (optimized for i386)) Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:465 load_module: G.729 transcoding module version 32, Copyright (C) 1999-2007 Digium, Inc. Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:469 load_module: This module is supplied under a commercial license granted by Digium, Inc. Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:470 load_module: Please see the full license text supplied by the accompanying Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:471 load_module: "register" utility, or ask for a copy from Digium. Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:472 load_module: This product includes software developed by the OpenSSL Project Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:473 load_module: for use in the OpenSSL Toolkit. (http://www.openssl.org/) Jul 19 14:11:23 NOTICE[28243]: codec_g729.c:474 load_module: Copyright (C) 1998-2006 The OpenSSL Project Jul 19 14:11:23 WARNING[28243]: codec_g729.c:481 load_module: Failed to initialize G.729 copy protection! I have tried it with all the available v32 architectures and every one of them comes back with the very same error. I have done a search to see if anyone else came accross this error, there was one reference to the FreeBSD codec doing this, but apparently a new version of the codec came out that fixed it, the link for the FreeBSD error reference is here: http://lists.digium.com/pipermail/asterisk-bsd/2005-March/000699.html I'm at wits end at the moment, so, if anyone has any suggestions whatsoever, please feel free to put them forth, I'm willing to try anything at the moment. Oh, and the hardware we're running it with is: Solaris 10 Update 3 The CPU's are Opterons, but I have forced Solaris to boot in 32bit mode as the target server for the asterisk package I'm making is 32bit Solaris. Hopefully the i386 version of the codec should work on Opteron processors? Thanks Bruce
On Thu, 2007-07-19 at 14:20 +0100, Bruce McAlister wrote:> I have been trying to get the Solaris version of the G729 codec to work > with asterisk 1.2.17 and 1.2.22. However, I come up against the very > same error every time I try to install it. Has anyone out there seen > this error, taken from the asterisk console straight from startup:I'm probably asking the obvious here, but were you able to successfully register your codec with the Digium registration server? Hase your ethernet MAC address changed since you registered the codec? -- Jared Smith Community Relations Manager Digium, Inc.
Make sure there are no other files in the license path other than your valid license for this server. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bruce McAlister Sent: Thursday, July 19, 2007 09:13 To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] G729 copy protection Jared Smith wrote:> On Thu, 2007-07-19 at 16:20 +0100, Bruce McAlister wrote: >> Am I doing something wrong? The README files dont quite explain howto>> get the Key-ID? > > You should have received a key from Digium when you bought yourlicense> to use the G.729 codec. If you haven't yet bought any G.729 licenses, > you can buy them from Digium's website at > http://www.digium.com/en/products/voice/g729codec.php >OK, I got hold of the G729 Key that was issued to us by digium recently and have now successfully registered the codec on the host. However, it still comes back with the following warning on the console after a restart: [codec_g729a.so] => (Annex A/B (floating point) G.729 Codec (optimized for i686)) Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:465 load_module: G.729 transcoding module version 32, Copyright (C) 1999-2007 Digium, Inc. Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:469 load_module: This module is supplied under a commercial license granted by Digium, Inc. Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:470 load_module: Please see the full license text supplied by the accompanying Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:471 load_module: "register" utility, or ask for a copy from Digium. Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:472 load_module: This product includes software developed by the OpenSSL Project Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:473 load_module: for use in the OpenSSL Toolkit. (http://www.openssl.org/) Jul 19 17:07:27 NOTICE[20591]: codec_g729.c:474 load_module: Copyright (C) 1998-2006 The OpenSSL Project Jul 19 17:07:27 WARNING[20591]: codec_g729.c:481 load_module: Failed to initialize G.729 copy protection! I can see the licence there (10 channel), but it looks like the codec does not want to inititalize properly. Thanks Bruce _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Darryl Dunkin wrote:> Make sure there are no other files in the license path other than your > valid license for this server. >Hi, I have just checked this, and there is only the 1 license file in the "/var/lib/asterisk/licenses" directory. Is that what you meant? Thanks Bruce
Correct, if you have multiple licenses in there (say a single storage location for a cluster of servers), it won't load. If you've tried other architectures of the codec and still had no luck, I'd say contact Digium support on it. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Bruce McAlister Sent: Thursday, July 19, 2007 13:55 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] G729 copy protection Darryl Dunkin wrote:> Make sure there are no other files in the license path other than your > valid license for this server. >Hi, I have just checked this, and there is only the 1 license file in the "/var/lib/asterisk/licenses" directory. Is that what you meant? Thanks Bruce _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Bruce McAlister wrote:> > Jul 19 14:11:23 WARNING[28243]: codec_g729.c:481 load_module: Failed to > initialize G.729 copy protection! >Hi, Could anyone from Digium please shed some light on the build environment for the solaris 10 g729 codec? Was it build on Solaris or OpenSolaris? Are there any specific versions of libraries required? I'm still having this issue, and still cannot get the codec working. I've had a few tips/pointer from Joe at Solaris VoIP, but now we need to know a little more about the build environment to see if we can actually get this codec working. i have tried to run the codec with asterisk 1.2.17, 1.2.20. 1.2.24, 1.4.4, 1.4.10, 1.4.10.1 and 1.4.11, they all fail with the same messages. Asteris has been built on Solaris 10 Update 3 patched up as of friday last week. Our focaus now is to try and get the codec working with asterisk 1.4.x on Solaris 10. I've also tried i386, i586 -> pentium4 32bit, opteron 32bit, on physical Opteron 285's and intel Xeon (Nacona's), all faile with the same message. The codec version is v32. This message comes up whether I have a valis g729 license from Digium or not, I have tried both. In either case, I would assume that codec would at least load, and a "show g729" at the cli would work with and without a license. Has anyone been able to test this codec with asterisk? Any tips/suggestions would be greatly appreciated. Thanks Bruce