[asterisk-users] g729 on 1.4.10.1

Matthew Fredrickson creslin at digium.com
Tue Sep 18 11:43:13 CDT 2007


Scott Moseman wrote:
> Here's what I'm showing in the logs...
> 
> [Sep 18 09:52:09] VERBOSE[2786] logger.c:   == Registered file format
> g729, extension(s) g729
> [Sep 18 09:52:09] VERBOSE[2786] logger.c: format_g729.so => (Raw G729 data)
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: G.729 transcoding module
> version 32, Copyright (C) 1999-2007 Digium, Inc.
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: This module is supplied
> under a commercial license granted by Digium, Inc.
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: Please see the full
> license text supplied by the accompanying
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: "register" utility, or
> ask for a copy from Digium.
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: This product includes
> software developed by the OpenSSL Project
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: for use in the OpenSSL
> Toolkit. (http://www.openssl.org/)
> [Sep 18 09:52:09] NOTICE[2786] codec_g729.c: Copyright (C) 1998-2006
> The OpenSSL Project
> [Sep 18 09:52:09] VERBOSE[2786] logger.c:   == G.729 Host-ID: x:x:x:etc
> [Sep 18 09:52:09] WARNING[2786] codec_g729.c: Failed to initialize
> G.729 copy protection!
> [Sep 18 09:52:09] VERBOSE[2786] logger.c: codec_g729a.so => (Annex A/B
> (floating point) G.729 Codec (optimized for i686))
> 
> Any ideas where this points me?

I hate to ask what may be a silly question, but have you purchased any 
G.729 licenses to use with the g.729 codec you downloaded?  If you 
haven't registered codec_g729 yet, that would be why you are seeing this 
problem with codec_g729.

Matthew Fredrickson

> 
> Thanks,
> Scott
> 
> 
> 
> On 9/17/07, Scott Moseman <scmoseman at gmail.com> wrote:
>> What's the best way to debug what's going on within Asterisk?
>> I turned up the 'core debug', but that did not give me what I was
>> hoping to find.  I'm hoping to see some kind of error that explains
>> why it will not pass through the g729 codec.
>>
>> Thanks,
>> Scott
>>
>>
>> On 9/14/07, Scott Moseman <scmoseman at gmail.com> wrote:
>>> I have a fresh 1.4.10.1 installation that appears to have a problem
>>> with g729 pass-through.  I can see the gateway in question sending
>>> an INVITE using g729b.  However, the Asterisk is only sending g711
>>> in the INVITE to my Polycom phone.
>>>
>>> [gateway]
>>> disallow=all
>>> allow=g729
>>>
>>> [phone]
>>> disallow=all
>>> allow=ulaw
>>> allow=alaw
>>> allow=g729
>>>
>>> There's the codec configs for the gateway and the phone in question.
>>> I even attempted to setup the phone with only the allow=g729, but in
>>> that instance it won't even complete the call.  We had to add g711
>>> support to the gateway in question for now to get it up and running,
>>> but we want to get it back to using only g729.
>>>
>>> CLI> show modules like g729
>>> Module                         Description
>>>  Use Count
>>> format_g729.so                 Raw G729 data
>>>  0
>>> codec_g729a.so                 Annex A/B (floating point) G.729 Codec
>>> ( 0
>>> 2 modules loaded
>>>
>>> I downloaded the pre-compiled g729 module from Digium.  The sip.conf
>>> references g729 and the codec module is loaded.  Unless there's
>>> anything else I need to do that I'm missing?
>>>
>>> Thanks,
>>> Scott
>>>
> 
> _______________________________________________
> 
> Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 
> 
> --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


-- 
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.



More information about the asterisk-users mailing list