Skip to main content

G729 configuration

Posted by bup413 on Thu, 08/13/2009

So I have installed g729 on several servers without problem. I even got it into MTE just fine, however, on MTE I can't get g729 as the first choice protocol for some reason. I have to remove g711 from the phone to get g729 to work.

In the MTE extension setting page it lists the codec as:
G.711u
G.729

In my config file ./user_provisioning/aastra.cfg:
sip customized codec: payload=18;ptime=30;silsupp=on,payload=110;ptime=30;silsupp=on,payload=0;ptime=30;silsupp=on

Via the phone web interface (which overrides the cfg file above) I removed G711 which gives me:
sip customized codec: payload=18;ptime=30;silsupp=on

Any thoughts?
I would like to be using G729 but if I run out of transcode lic on the server it fall back to G711u (I run certain clients on G729 but not everyone (really depends on available bandwidth they have, but rather not take the CPU cycles if not needed, as a result my G729 Lic is under my daily call loads so there could be an occasion, albeit rare, when a G729 may fail and need to fall back to G711)

-Adam


Submitted by eeman on Thu, 08/13/2009 Permalink

its because your default settings have ulaw listed first, as far as fallback, unfortunately it doesnt do that. It places the call and negotiates g729 before realizing its out of licenses and then the call fails.

personally i buy my licenses and then use the module provided by another site that doesnt check licenses to run (ie free but not legitimate). I figure that noone will have much standing when they audit and see that I've paid my licensing fee's for every handset that uses it. (I just make the $10 part of the setup costs).

Submitted by moshe on Wed, 04/21/2010 Permalink

i have just add some more g729 licenses and i don't see it in cmd show g729, i believe i have to restart asterisk in order it should go into affect, my issue is that I'm currently peaking my existing licenses and have a full load and don't want to shout off active calls, is there any way around the need to restart

Submitted by eeman on Wed, 04/21/2010 Permalink

the digium module doesnt support a 'module reload' to re-read licenses and any configuration. What did digium propose as a solution to get it to re-read the licenses? It seems like an oversight but perhaps they were not thinking in such busy terms. I think any license driven module should, without question, have the ability to re-read a license count without an unload/load action. Technically you cuold unload the g729 module and load it back up, but you didnt gain anything. The calls would fail during that evolution and a 'restart now' would happen faster with less impact than the other.