Unable to find codec translation path g729 to ulaw


#1

Hello,

I recently created a virtual machine and installed/upgraded FreePBX/Asterisk to 10.13.66-22. I have restored it from our existing physical server which is running 6.12.65-23. However, when I try to test calls through the new system it gives me error “unable to find codec translation path g729 to ulaw” and vice versa. I downloaded the g729 codec file (codec_g729.so) and placed it under /usr/lib64/asterisk/modules, but i still dont see g729 in the translation table. How can I get the codec translation working?

asterisk -rx "core show translation"
Translation times between formats (in microseconds) for one second of data
Source Format (Rows) Destination Format (Columns)

       ulaw  alaw   gsm  g726 g726aal2 adpcm  slin  slin  slin  slin  slin  slin  slin  slin  slin lpc10  ilbc  g722 testlaw
 ulaw     -  9150 15000 15000    15000 15000  9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250   15000
 alaw  9150     - 15000 15000    15000 15000  9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250   15000
  gsm 15000 15000     - 15000    15000 15000  9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250   15000
 g726 15000 15000 15000     -    15000 15000  9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250   15000

g726aal2 15000 15000 15000 15000 - 15000 9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250 15000
adpcm 15000 15000 15000 15000 15000 - 9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250 15000
slin 6000 6000 6000 6000 6000 6000 - 8000 8000 8000 8000 8000 8000 8000 8000 6000 6000 8250 6000
slin 14500 14500 14500 14500 14500 14500 8500 - 8000 8000 8000 8000 8000 8000 8000 14500 14500 14000 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 - 8000 8000 8000 8000 8000 8000 14500 14500 6000 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 - 8000 8000 8000 8000 8000 14500 14500 14500 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 8500 - 8000 8000 8000 8000 14500 14500 14500 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 8500 8500 - 8000 8000 8000 14500 14500 14500 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 8500 8500 8500 - 8000 8000 14500 14500 14500 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 8500 8500 8500 8500 - 8000 14500 14500 14500 14500
slin 14500 14500 14500 14500 14500 14500 8500 8500 8500 8500 8500 8500 8500 8500 - 14500 14500 14500 14500
lpc10 15000 15000 15000 15000 15000 15000 9000 17000 17000 17000 17000 17000 17000 17000 17000 - 15000 17250 15000
ilbc 15000 15000 15000 15000 15000 15000 9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 - 17250 15000
g722 15600 15600 15600 15600 15600 15600 9600 17500 9000 17000 17000 17000 17000 17000 17000 15600 15600 - 15600
testlaw 15000 15000 15000 15000 15000 15000 9000 17000 17000 17000 17000 17000 17000 17000 17000 15000 15000 17250 -


#2

Have you licensed the codec using the registrar utility?


#3

how do i do that? I don’t see any licenses in our existing physical system.


#4

I presume you bought the licences with the hardware, of the “physical system”. That’s what you do when you buy any G.729 compatible phone.

(The situation has been complicated by the expiry of the patent. I’ve ignored that.)


#5

You will need to sign into your digium account at https://my.digium.com/ and generate new licensing.

You can see your existing licenses at:

https://my.digium.com/en/users/registered-products/

There’s a good document in the Knowledgebase about the G 7.29 codec, how to install and register the codec.

http://kb.digium.com/articles/FAQ/How-do-I-register-a-G729-license?retURL=%2Fapex%2FknowledgeProduct%3Fc%3DG_729&popup=false