Vocoders convertion while using SIP and H323

I tried to call from one SIP-phone that supports only one vocoder to another that supports another vocoder. I saw that Asterisk was doing the convertion automatically [vocoder1]<->slin<->[vocoder2]. In case of using H323 there is no this convertion, the connection cannot be set. I use OOH323.
What is the reason?
Thank you.

Please, give me a piece of advice.

show us the Asterisk log file fragment for the call. and the appropriate bits from sip.conf and ooh323/h323.conf for the users concerned.

Sorry, it was something wrong with my H323-softphone. But now the new problem - in ooh323.conf it is written:

only ulaw, gsm, g.729 and g.723.1 supported as of now

But when I try to call softphone with g729 from another one with gsm I have the following:

[Mar  1 10:40:35] WARNING[5403] channel.c: Unable to find a codec translation path from g729 to gsm
[Mar  1 10:40:35] WARNING[5403] channel.c: Unable to find a codec translation path from g729 to gsm
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:35] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] src/chan_h323.c: Asked to transmit frame type 2, while native formats is 256 (read/write = 2/2)
[Mar  1 10:40:36] WARNING[5403] channel.c: No path to translate from OOH323/lib-c7cb(256) to OOH323/user4h-9c3f(2)
[Mar  1 10:40:36] WARNING[5403] app_dial.c: Had to drop call because I couldn't make OOH323/lib-c7cb compatible with OOH323/user4h-9c3f

Where are these translationa defined?
Excuse me my inattention.

do you have a g729 codec installed ?

I used codec_g729a.so I downloaded, it was written that I need not to do any changes, just copy the library to path-to-modules/ directory.

is it running ? if you do a “show translation” what do you get in the g729 column ? if it’s a licenced codec, what does “show g729” return ?

Nothing below g.729
So, is the reason is my knotty g.729 library, isn’t it?
But I have no g.729 in the sources that I downloaded from Asterisk. Where can I get the work g.729?

where did you get the g729 codec you have now ? and what version of Asterisk are you running ?

Digium will happily sell you g729 licences for US$10 each. or you can download and use ones you can find using google and the wiki. how legal that is depends on your use, and where you are.

I use 1.4.0
I don’t remember where I got the codec_g.729.so. I’ll try other versions from ftp://ftp.digium.com/pub/telephony/aste … erisk-1.4/

In this case - what should I do to install the library? Only to copy it to the directory of Asterisk’s libraries?

Is it possible to get the g.729 with sources?

if you get the binary codec from Digium, you’ll also need the register binary, and a key from Digium for the number of channels you have bought from them. make sure you backup the contents of /var/lib/asterisk/licences.

no registration => no licences => no g729 availability in Asterisk.

i haven’t used the “free” version on 1.4, but they used to work ok with 1.2.

to be honest, it’s a small price to pay for reduced bandiwth consumption, and it’s nice to give Digium some income isn’t it ?

So, first of all I need to doqnload codec_g729a.so from Digium ftp. Then I must buy the license, is it right?
Where can I buy it and what will be then? What will I receive for that $10?

If I’ve not buy the license I cannot run the g.729, is it true?

But as I see there is no library for my CPU - Sempron. Is the library for Athlon suitable?

Thank you.