[Home]

Summary:ASTERISK-00043: g.729 licenses do not release when used in Voicemail
Reporter:Ricardo Villa (ricvil)Labels:
Date Opened:2003-08-03 17:27:14Date Closed:2004-09-25 02:40:14
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Upon testing the g.729 licenses in our lab we found the following issues in a plain SIP environment:
1.  When g.729 licenses are used in leaving a Voicemail, they do not get released upon clearing the channel.
2.  If the voicemail.conf has options for 2 format types (ie. wav49 and WAV), it consumes 2 g.729 licenses.

****** ADDITIONAL INFORMATION ******

maui*CLI> show version
Asterisk CVS-07/27/03-00:59:20 built by root@maui on a i686 running Linux


maui*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Lag      Jitter  Format
0 active SIP channel(s)
maui*CLI> g.729 show license usage
maui*CLI>
There are currently no licenses of G.729 codec in use

Asterisk Ready.
   -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1001/INBOX/msg0005 format: WAV, 0x80cc5b0
   -- x=1, open writing:  /var/spool/asterisk/voicemail/default/1001/INBOX/msg0005 format: wav49, 0x80cc878
 == Spawn extension (sip, 1001, 2) exited non-zero on 'SIP/maui-0b5d'
maui*CLI>
maui*CLI> show channels
       Channel  (Context    Extension    Pri )   State Appl.         Data          
0 active channel(s)
maui*CLI> sip show channels
Peer             User/ANR    Call ID      Seq (Tx/Rx)  Lag      Jitter  Format
0 active SIP channel(s)
maui*CLI> g.729 show license usage
maui*CLI>
There are currently 2 licenses of G.729 codec in use
Comments:By: Ricardo Villa (ricvil) 2003-08-04 10:39:26

My email is ricvil@telesip.net  

Let me know what else you need to troubleshoot this issue.

Thanks.

By: scaredycat (scaredycat) 2003-08-05 14:28:38

I have the g729 codec installed - the command

maui*CLI> g.729 show license usage

just brings up an error.

Asterisk CVS-08/04/03-15:32:38 built by root@ASTERISK on a i686 running Linux

ASTERISK*CLI> g.729 show license usage
No such command 'g.729' (type 'help' for help)

By: Ricardo Villa (ricvil) 2003-08-05 14:59:44

I would suspect your codec is not even working then.  That command is only enabled once you register the codec.  Do a help to see if the command is there:


maui*CLI> help g.729 show license usage
Usage: Show how many licenses of G.729 codec are in use.

By: rommer (rommer) 2003-08-08 15:44:47

I can confirm that this is in fact a reproducible problem when using VoiceMail2 and G.729. A detailed error report was sent to the developers list and I can put a copy here if anyone wants it...

By: x martinp (martinp) 2003-08-11 15:44:26

This is fixed in a recent CVS.

By: x martinp (martinp) 2003-08-11 15:45:51

Scarycat: you have an old binary installed that doesnt have that command. Download a new_codec_binary from ftp.digium.com. Notice that you DON"T have to use Registraion to reregister .... this has to be done only once!

By: x martinp (martinp) 2003-08-11 16:01:55

The licenses are released. However if you record mail using 2-3 file formats it's going to take 2-3 g729 licenses. So the best way is to choose one format to save the voicemail to.

regards
Martin