[Asterisk-Dev] G.729 bug?

John Vozza john at netrom.com
Mon Aug 4 05:56:15 MST 2003


I just recently added G.729 lic. to my 2 asterisk servers.

They are setup to us iax2 and G.729 between them for inter-office calling.

Seems the voicemail2 application may have a bug in that it grabs licenses
but does not release them:

*CLI> g.729 show license usage

There are currently no licenses of G.729 codec in use

    -- Accepting AUTHENTICATED call from 165.254.229.14, requested format
= 256, actual format = 256

[edited for clarity]

    -- Playing 'vm-intro'
    -- Playing 'beep'
    -- x=0, open writing:
/var/spool/asterisk/voicemail/default/22/INBOX/msg0000 format: gsm,
0x8119ec0
    -- x=1, open writing:
/var/spool/asterisk/voicemail/default/22/INBOX/msg0000 format: wav49,
0x80cf9f8
    -- x=2, open writing:
/var/spool/asterisk/voicemail/default/22/INBOX/msg0000 format: wav,
0x8122728
g.729 show license usage

There are currently 3 licenses of G.729 codec in use

*CLI> g.729 show license usage

There are currently 3 licenses of G.729 codec in use

    -- User ended message by pressing #
    -- Playing 'vm-msgsaved'
    -- Executing Congestion("IAX2[wm at wm]/16384", "") in new stack
  == Spawn extension (local, 22, 2) exited non-zero on 'IAX2[wm at wm]/16384'
    -- Hungup 'IAX2[wm at wm]/16384'
g.729 show license usage

There are currently 3 licenses of G.729 codec in use

*CLI> g.729 show license usage

There are currently 3 licenses of G.729 codec in use

Then subsequent calls produce errors since I only have 4 lic. per server.


WARNING[18448]: File codec_g729b.c, Line 266 (g729tolin_framein): G729
resources are not allocated, exiting

Error Opening channel:4 not available, see see
va_g729_init_global(..)WARNING[18448]: File codec_g729b.c, Line 114
(g729tolin_new): No available g729b resources for channel 4


BTW - both servers are running latest CVS as of this morning.

Is this something I'm doing wrong?

Thanks

John
-------------------------------------------------------------------------
NetRom Internet Services			973-208-1339 voice
john at netrom.com					973-208-0942 fax
http://www.netrom.com
-------------------------------------------------------------------------




More information about the asterisk-dev mailing list