Problem: G729 Codec Translation Path

Hello friends.

I am currently running Asterisk 1.8.15.0 (elastix flavor).
I recently started having this problem with one of my SIP trunks, inbound calls are answered but the inbound caller hears no ringing prior. Also when put on hold, the inbound caller hears no hold-music.
This started happening after a reboot.

My trunk is setup as follows:

username=someuser fromuser=someuser type=peer secret=somepass port=5060 fromdomain=somedomain host=somehost defaultexpiry=3600 dtmfmode=rfc2833 canreinvite=no insecure=very disallow=all allow=g729&ulaw&alaw sendrpid=yes&pai nat=yes

Everything is registered and like I say, we can make inbound and outbound calls.

The logs for the inbound calls show:

My g729 codecs are registered:

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

Licenses Found:
File: G729-somenumbers.lic – Key: G729-somenumbers – Host-ID: somenumbers – Channels: 4 (Expires: 2032-03-20) (OK)[/code]

My output on the asterisk cli for core show translation:

[code]Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)

       g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 speex  ilbc  g726  g722 siren7 siren14 slin16  g719 speex16 testlaw
 g723     -     -     -     -        -     -     -     -     -     -     -     -     -      -       -      -     -       -       -
  gsm     -     -  2000 11998     6998  2000  1999  4998     - 12997 17996  6998  2999      -       -   3998     -   10997    2000
 ulaw     -  2001     -     1     5000     2     1  3000     - 10999 15998  5000  1001      -       -   2000     -    8999       2
 alaw     -  3000     1     -     5000     2     1  3000     - 10999 15998  5000  1001      -       -   2000     -    8999       2

g726aal2 - 3000 1001 1001 - 1001 1000 3999 - 11998 16997 5999 2000 - - 2999 - 9998 1001
adpcm - 3000 1001 1001 5999 - 1000 3999 - 11998 16997 5999 2000 - - 2999 - 9998 1001
slin - 2000 1 1 4999 1 - 2999 - 10998 15997 4999 1000 - - 1999 - 8998 1
lpc10 - 4000 2001 2001 6999 2001 2000 - - 12998 17997 6999 3000 - - 3999 - 10998 2001
g729 - - - - - - - - - - - - - - - - - - -
speex - 3000 1001 1001 5999 1001 1000 3999 - - 16997 5999 2000 - - 2999 - 9998 1001
ilbc - 4000 2001 2001 6999 2001 2000 4999 - 12998 - 6999 3000 - - 3999 - 10998 2001
g726 - 4000 2001 2001 6999 2001 2000 4999 - 12998 17997 - 3000 - - 3999 - 10998 2001
g722 - 4000 2001 2001 6999 2001 2000 4999 - 12998 17997 6999 - - - 999 - 7998 2001
siren7 - - - - - - - - - - - - - - - - - - -
siren14 - - - - - - - - - - - - - - - - - - -
slin16 - 6000 4001 4001 8999 4001 4000 6999 - 14998 19997 8999 2000 - - - - 6999 4001
g719 - - - - - - - - - - - - - - - - - - -
speex16 - 8000 6001 6001 10999 6001 6000 8999 - 16998 21997 10999 4000 - - 2000 - - 6001
testlaw - 2001 2 2 5000 2 1 3000 - 10999 15998 5000 1001 - - 2000 - 8999 -[/code]

Anyone know why this could be happening?

EDIT

I did a reload of the module from the cli and ringing was restored. The output from core show translation now shows values for g729.

I am now working on why my hold music isnt playing.

EDIT

MOH for some reason was reset to “none”. Fixed that the que settings. All good now.

I suddenly ran into the same issue. what command did you issue to “reload the module” in the cli?

Module reload codec_g729.so

Thanks again navaismo,

for me it’s “codec_g729a.so”