Question : Asterisk Chanspy and G729 License Issue

Hi 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.

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

Licenses Found:
File: G729-3NYBME6HGMNN.lic -- Key: G729-3NYBME6HGMNN -- Host-ID: 03:68:a2:3c:32:24:43:9a:24:6c:69:db:2d:ec:5b:9e:19:fd:e5:77 -- Channels: 11 (Expires: 2030-07-01) (OK)
File: G729-RC67TTDEGGL8.lic -- Key: G729-RC67TTDEGGL8 -- Host-ID: 03:68:a2:3c:32:24:43:9a:24:6c:69:db:2d:ec:5b:9e:19:fd:e5:77 -- Channels: 5 (Expires: 2030-06-28) (OK)

Answer : Asterisk Chanspy and G729 License Issue

Checkl this :

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
<html><head><script>
	function function1(e) {
		var srcElement = e.srcElement?e.srcElement:e.target;
		if( srcElement.nodeName.toLowerCase() == "td" ) {
			var cells = document.getElementsByTagName("table")[0].getElementsByTagName("td");
			for(var i=0;i<cells.length;i++) cells[i].bgColor = ""; // remove color for all cells
			if( srcElement.bgColor == "" ) {
				srcElement.bgColor = "red";
			}
			else {
				srcElement.bgColor = "";
			}
		}
	}
</script></head>
<body bgcolor="#ccffcc" text="#000000">
<table border="1" onClick="function1(event);">
	<tr>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
   <td id="myTD" height="79">Cell 1 content</td>
 </tr>
</table>
</body></html>
Random Solutions  
 
programming4us programming4us