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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 29 06:48:09 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:                     assigned
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:              
====================================================================== 
Date Submitted:             2010-07-12 09:02 CDT
Last Modified:              2010-07-29 06:48 CDT
====================================================================== 
Summary:                    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(...
====================================================================== 

---------------------------------------------------------------------- 
 (0125243) manvirr (reporter) - 2010-07-29 06:48
 https://issues.asterisk.org/view.php?id=17630#c125243 
---------------------------------------------------------------------- 
Before the call

 g729 show licenses
0/0 encoders/decoders of 10 licensed channels are currently in use

Licenses Found:
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 10 (Expires: 2029-06-17) (OK)


During the call

0/0 encoders/decoders of 10 licensed channels are currently in use

Licenses Found:
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 10 (Expires: 2029-06-17) (OK)


During Chanspy on this call

 g729 show licenses
2/4 encoders/decoders of 10 licensed channels are currently in use

Licenses Found:
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 10 (Expires: 2029-06-17) (OK)

After Channels hangup

E94LocalTerm*CLI> core show channe
channel       channels      channeltypes  channeltype
E94LocalTerm*CLI> core show channels verbose
Channel              Context              Extension        Prio State  
Application  Data                      CallerID        Duration Accountcode
BridgedTo
0 active channels
0 active calls
2 calls processed
E94LocalTerm*CLI> g729 show licenses
2/0 encoders/decoders of 10 licensed channels are currently in use

Licenses Found:
File: G729-REMOVED.lic -- Key: G729-REMOVED -- Host-ID: REMOVED --
Channels: 10 (Expires: 2029-06-17) (OK) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-29 06:48 manvirr        Note Added: 0125243                          
======================================================================




More information about the asterisk-bugs mailing list