[asterisk-bugs] [Asterisk 0017630]: [patch] Chanspy Keeps using G729 Encoder licenses even after the spying channel hangs up.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 29 14:05:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17630 
====================================================================== 
Reported By:                manvirr
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17630
Category:                   Applications/app_chanspy
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.6.2.12
Asterisk Version:           SVN 
JIRA:                       SWP-1845 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-12 09:02 CDT
Last Modified:              2010-07-29 14:05 CDT
====================================================================== 
Summary:                    [patch] Chanspy Keeps using G729 Encoder licenses
even after the spying channel hangs up.
Description: 
Hi,

We are using Asterisk 1.6.2.9 and running on Cent OS 5.4 x86_64 kernel
2.6.18-194.3.1.el5

We are using G729 for our sip trunks. Our extensions use G729 as well.
When I try to spy on a channel with chanspy, I observe that the G729
licenses keep getting used up but do not get freed up even when I hang up
the Spy / Spying Extension.

Is there any way we can free up the licenses when the spying of a channel
is over?

When I do g729 show licenses I get the following output.. And with every
channel that is spied on, the encoder count keeps increasing but with every
call that is hung up, the encoder count does not decrease.

2/0 encoders/decoders of 16 licensed channels are currently in use

Licenses Found:
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 11 (Expires: 2030-07-01) (OK)
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 5 (Expires: 2030-06-28) (OK)
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013513 Recording transcoded call with Monitor(...
====================================================================== 

---------------------------------------------------------------------- 
 (0125290) svnbot (reporter) - 2010-07-29 14:05
 https://issues.asterisk.org/view.php?id=17630#c125290 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 280449

_U  branches/1.6.2/
U   branches/1.6.2/main/channel.c

------------------------------------------------------------------------
r280449 | dvossel | 2010-07-29 14:05:23 -0500 (Thu, 29 Jul 2010) | 18
lines

Merged revisions 280448 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r280448 | dvossel | 2010-07-29 14:04:23 -0500 (Thu, 29 Jul 2010) | 12
lines
  
  fixes issue with translator frame not getting freed
  
  A translator frame even if it local storage so the translation path
  can be freed.  This issue prevented g729 licenses from being freed up.
  
  (closes issue https://issues.asterisk.org/view.php?id=17630)
  Reported by: manvirr
  Patches:
        encoder_fix.diff uploaded by dvossel (license 671)
  Tested by: manvirr, dvossel
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=280449 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-29 14:05 svnbot         Checkin                                      
2010-07-29 14:05 svnbot         Note Added: 0125290                          
======================================================================




More information about the asterisk-bugs mailing list