Vinz486
2008-Jul-07 09:26 UTC
[asterisk-users] Codec negotiation for Thomson ST2030 and g729
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
Olivier
2008-Jul-07 10:18 UTC
[asterisk-users] Codec negotiation for Thomson ST2030 and g729
If my memory serves me right, we could use Thomson ST2030 and Asterisk 1.4. Have you tried with another soft or hardphone ? 2008/7/7 Vinz486 <vinz486 at gmail.com>:> 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 > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080707/5461fdd2/attachment.htm
Vinz486
2008-Jul-07 12:28 UTC
[asterisk-users] Codec negotiation for Thomson ST2030 and g729
On Mon, Jul 7, 2008 at 12:18 PM, Olivier <oza-4h07 at myamail.com> wrote:> If my memory serves me right, we could use Thomson ST2030 and Asterisk 1.4. > Have you tried with another soft or hardphone ?Why not???