Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-07 Thread Richard Mudgett
On Tue, May 6, 2014 at 1:01 PM, Richard Kenner ken...@gnat.com wrote: That is definitely a leak and the fix looks good. Thanks. That leak is most likely the one biting you. It definitely is. Committed the fix for this leak on Asterisk v12 branch in -r413454. There is another leak

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-07 Thread Richard Kenner
Committed the fix for this leak on Asterisk v12 branch in -r413452. This leak also applied to Asterisk v11. Thanks. Is this for both the one in the talking callback or the one in handle_cli_confbridge_kick or both (the fix is similar in both)? --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-07 Thread Richard Mudgett
On Wed, May 7, 2014 at 4:43 PM, Richard Kenner ken...@gnat.com wrote: Committed the fix for this leak on Asterisk v12 branch in -r413452. This leak also applied to Asterisk v11. Thanks. Is this for both the one in the talking callback or the one in handle_cli_confbridge_kick or both (the

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-06 Thread Richard Kenner
Really, I think we're pretty positive there's a ref leak (since otherwise, the CBAnn channel would be long gone). If you can get a ref debug log and the standard Asterisk DEBUG log showing the problem, that would help a lot in finding out what is going on. I think the bug is in

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-06 Thread Richard Mudgett
On Tue, May 6, 2014 at 5:45 AM, Richard Kenner ken...@gnat.com wrote: Really, I think we're pretty positive there's a ref leak (since otherwise, the CBAnn channel would be long gone). If you can get a ref debug log and the standard Asterisk DEBUG log showing the problem, that would help a

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-06 Thread Richard Kenner
That is definitely a leak and the fix looks good. Thanks. That leak is most likely the one biting you. It definitely is. There is another leak in handle_cli_confbridge_kick() if the participant to kick is not in the conference. Confirmed. I missed that one in my code reading. I just

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread Richard Kenner
It may show up in 'bridge show all' - but I'd actually expect it not to show up there either. Actually, it does. I have a screen full of bridges with 0 channels. I just tried an experiment where all I have is exten = 329,1,Answer(1000) same = n,Confbridge(1234) with absolutely nothing else

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread Matthew Jordan
On Thu, May 1, 2014 at 7:18 AM, Richard Kenner ken...@gnat.com wrote: It may show up in 'bridge show all' - but I'd actually expect it not to show up there either. Actually, it does. I have a screen full of bridges with 0 channels. I just tried an experiment where all I have is exten =

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread Richard Kenner
Please go ahead and open an issue and attach the refs log and the full DEBUG log. That will allow us to understand what's occurring here. I need to wait until I'm sure this isn't something I caused somehow, so I need to first understand why I'm seeing this and nobody else is. --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-05-01 Thread James Sharp
On 5/1/2014 10:38 AM, Richard Kenner wrote: Please go ahead and open an issue and attach the refs log and the full DEBUG log. That will allow us to understand what's occurring here. I need to wait until I'm sure this isn't something I caused somehow, so I need to first understand why I'm

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Matthew Jordan
On Tue, Apr 29, 2014 at 6:03 PM, Richard Kenner ken...@gnat.com wrote: If the channel still hangs around after the conference is destroyed then there is a problem. Am I missing something obvious: I'm looking in the confbridge_exec function. I see a conference = NULL line, but no attempt

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Richard Kenner
If the reference count on the bridge is off, you should see the conference bridge 'hanging around' after the last participant has left. And how would I be sure this is the case? I did core set debug 1 and didn't see the debug line about destroying the conference, but it doesn't show up in

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Matthew Jordan
On Wed, Apr 30, 2014 at 8:20 AM, Richard Kenner ken...@gnat.com wrote: If the reference count on the bridge is off, you should see the conference bridge 'hanging around' after the last participant has left. And how would I be sure this is the case? I did core set debug 1 and didn't see

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-30 Thread Richard Kenner
Really, I think we're pretty positive there's a ref leak (since otherwise, the CBAnn channel would be long gone). If you can get a ref debug log and the standard Asterisk DEBUG log showing the problem, that would help a lot in finding out what is going on. That can't be done in the 12.2.0

[asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
After an upgrade to Asterisk 12, I'm collecting channels. When I enter and then exit a conference room, I see: -- CBAnn/207-067f;1 Playing 'confbridge-leave.slin' (language 'en') -- Channel CBAnn/207-067f;2 joined 'softmix' base-bridge 5edb1920-3774-4ba3-8c4d-23e8fd04519c --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Mudgett
On Tue, Apr 29, 2014 at 5:10 PM, Richard Kenner ken...@gnat.com wrote: After an upgrade to Asterisk 12, I'm collecting channels. When I enter and then exit a conference room, I see: -- CBAnn/207-067f;1 Playing 'confbridge-leave.slin' (language 'en') -- Channel

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
The announcer channel joins/leaves the conference as it has sounds to play. If the channel still hangs around after the conference is destroyed then there is a problem. There's a problem. ;-) But thanks for pointing to how that's supposed to be handled. --

Re: [asterisk-users] CBAnn channel not going away in Asterisk 12

2014-04-29 Thread Richard Kenner
If the channel still hangs around after the conference is destroyed then there is a problem. Am I missing something obvious: I'm looking in the confbridge_exec function. I see a conference = NULL line, but no attempt to free that structure, which is what I understand will destroy the playback