[asterisk-users] g729 freezes 1.8

samuel samu60 at gmail.com
Wed Apr 18 03:02:58 CDT 2012


Hi folks,

I was recently installing g729 support as usual (register, cp codec_g729 to
modules) and found out that the resulting asterisk instances freezes
whenever g729 commands are executed in the command line.

The registration process went OK and I can see the module being loaded by
asterisk:

[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: G.729A transcoding module
version 1.8.0_3.1.5, Copyright (C) 1999-2009 Digium, Inc.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: This module is supplied
under a commercial license granted by Digium, Inc.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: Please see the full license
text supplied by the accompanying
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: "register" utility, or ask
for a copy from Digium.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: This product includes
software developed by the OpenSSL Project
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: for use in the OpenSSL
Toolkit. (http://www.openssl.org/)
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: Copyright (C) 1998-2006 The
OpenSSL Project

[Apr 18 09:54:29] VERBOSE[23775] manager.c:   == Manager registered action
G729LicenseStatus
[Apr 18 09:54:29] VERBOSE[23775] manager.c:   == Manager registered action
G729LicenseList
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c:   == Host-ID:
7e:f8:73:46:bf:58:23:8f:82:10:6d:e5:59:6f:90:04:a8:30:74:fe
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c:   == Found license
'G729-ZNSEND59XW4H' providing 25 channels
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c:   == Found total of 25
G.729 licenses

After I can, sometimes, execute g729 CLI commands:
*CLI> g729 show hostid
Host-ID: 7e:f8:73:46:bf:58:23:8f:82:10:6d:e5:59:6f:90:04:a8:30:74:fe

But no g729 seems to be loaded:
*CLI> core show translation
         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     -     -     2     2        -     2     1     2     -     -
4001     -     2      -       -   4003     -       -       2
     ulaw     -     2     -     2        -     2     1     2     -     -
4001     -     2      -       -   4003     -       -       2
     alaw     -     2     2     -        -     2     1     2     -     -
4001     -     2      -       -   4003     -       -       2
 g726aal2     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
    adpcm     -     2     2     2        -     -     1     2     -     -
4001     -     2      -       -   4003     -       -       2
     slin     -     1     1     1        -     1     -     1     -     -
4000     -     1      -       -   4002     -       -       1
    lpc10     -     2     2     2        -     2     1     -     -     -
4001     -     2      -       -   4003     -       -       2
     g729     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
    speex     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
     ilbc     -     2     2     2        -     2     1     2     -
-     -     -     2      -       -   4003     -       -       2
     g726     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
     g722     -     2     2     2        -     2     1     2     -     -
4001     -     -      -       -   4001     -       -       2
   siren7     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
  siren14     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
   slin16     -     3     3     3        -     3     2     3     -     -
4002     -     1      -       -      -     -       -       3
     g719     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
  speex16     -     -     -     -        -     -     -     -     -
-     -     -     -      -       -      -     -       -       -
  testlaw     -     2     2     2        -     2     1     2     -     -
4001     -     2      -       -   4003     -       -       -

Whenever I try to execute g729 show licencese, the CLI freezes and, in a
few, asterisk itself freeezes:
*CLI> g729 show licenses
*CLI> core show translation
*CLI> core show translation

I've tried both 1.8.8.1 and 1.8.11.0 asterisk versions, and generic and
barcelona g729 binaries from
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-1.8.0/x86-64/

Whenever I delete the codec_g729a.so module everything runs smoothly.

Is there any issue or incompatibility between 1.8 and g729?

Thank you very much in advance,
Samuel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120418/8dd12116/attachment.htm>


More information about the asterisk-users mailing list