[asterisk-users] Codec negotiation for Thomson ST2030 and g729

Vinz486 vinz486 at gmail.com
Mon Jul 7 04:26:55 CDT 2008


Hi all,

i'm trouble with codec setup on an asterisk machine 1.4.18 and some
Thomson ST2030 as extensions.

In the users.conf file for internal extension i have:

disallow=all
allow=g729
allow=alaw
allow=ulaw

Without any codec installed (i mean with original g729 of asterisk)
all go fine, calling from an extension to one other:

Peer             User/ANR    Call ID      Seq (Tx/Rx)  Format
 Hold     Last Message
10.9.9.9         202         11a6323d2ff  00102/00000  0x100 (g729)
 No       Tx: ACK
10.9.9.10        201         a8749-c0a80  00101/00001  0x100 (g729)
 No       Rx: ACK


Installing the open source binary of g279 (codec_g729.so in modules
dir) and restarting asterisk, the same call require transcoding:

Peer             User/ANR    Call ID      Seq (Tx/Rx)  Format
 Hold     Last Message
10.9.9.9         202         1992c2d149e  00102/00000  0x8 (alaw)
 No       Tx: ACK
10.9.9.10        201         140a6d-c0a8  00101/00001  0x100 (g729)
 No       Rx: ACK

The CALLED extension uses alaw instead of g729.

This uses a lot of CPU (up to 10% in my P3 machine).

Where is the trouble? Asterisk bug? Thomson do not recognize g729 GPL
as standard g729? I must set the framebuffer size?

If i set ONLY g729 as allowed codec all go fine: all calls uses the g729 codec.

Why codec negotian in the allow= list is not respected? Depends on
codec binary? It's strange...


Thanks to all...




---
PicoStreamer - the real WEB live streaming software
vinz486.com



More information about the asterisk-users mailing list