G.729 Codec Issues


I just purchased a couple g729 licenses and installed them on my Asterisk box, however I receive no audio now.

I am using a Grandstream 2000 phone and have the Preferred Vocoder set to G.729A/B.

In my sip.conf, I have the following set for this extension:

[2210] username=2210 type=friend secret=xxxxxx qualify=no port=5060 nat=never mailbox=2210@device host=dynamic dtmfmode=rfc2833 context=from-internal canreinvite=no disallow=all allow=g729

I have verified that the g729 is installed:

[code]# show g729

0/0 encoders/decoders of 2 licensed channels are currently in use[/code]

When I dial *98 to access voice mail, the cli reports:

-- Executing Answer("SIP/2210-d77a", "") in new stack -- Executing Wait("SIP/2210-d77a", "1") in new stack -- Executing VoiceMailMain("SIP/2210-d77a", "default") in new stack -- Playing 'vm-login' (language 'en')
When in the voicemail call

[code]# show g729

1/0 encoders/decoders of 2 licensed channels are currently in use[/code]

I am new to Asterisk, so this is a little over my head. Any help would be appreciated.


do you have “allow=g729” in the [general] section of sip.conf ?

Hello, thanks for the reply.

I have the following in the [general] section of sip.conf



Sorry to bump, but does anyone have any suggestions? I hate to pay for something that doesn’t work correctly and can’t be returned.

looking again at your opening post, depending on where it is in the VM stage, then 1 encoder could be right ? if it’s playing a GSM file to a G729 UA and not expecting anything back.

instead of using ‘show g729’, try using ‘sip show channel SIP/xxx’ where ‘xxx’ is the channel in use. then you can see what codecs are in use. you’ll need to cross-check this against ‘show codecs’.