Summary:ASTERISK-02976: [patch] Channels get stuck in the parking lot
Reporter:liamk (liamk)Labels:
Date Opened:2004-12-13 05:26:20.000-0600Date Closed:2008-01-15 15:17:19.000-0600
Versions:Frequency of
Environment:Attachments:( 0) parkedcalls.diff.txt
Description:The problem is that sometimes a channel parked on the lot does not get cleaned up when the parked hangs up for example.
This is because the nasty 'notquiteyet' flag of the parkeduser structure is not initialised to '0'.
If we are lucky (unlucky?) the malloc will return memory where notquite yet happens to be 0 - otherwise we have a problem.
After doing a memset of the parkeduser structure to '0' just after the malloc, the problem goes away.
Of course we could have just done pu->notquiteyet = 0 ....
Comments:By: Brian West (bkw918) 2004-12-13 12:01:18.000-0600

Line numbers... or a patch would be most helpful here.


By: Mark Spencer (markster) 2004-12-13 14:26:31.000-0600

Does this not happen in CVS head?

By: Jeffrey C. Ollie (jcollie) 2004-12-13 15:09:44.000-0600

This does appear to be fixed in CVS HEAD, but not in v1-0.  Was fixed by jim in CVS HEAD v1.23 on 2004/12/09.

By: Brian West (bkw918) 2004-12-13 17:26:33.000-0600

/me was about to say.. haha

By: Mark Spencer (markster) 2004-12-13 17:32:43.000-0600

Okay I'll mark this as "fixed in CVS head" and we'll let russell fix it in stable.

By: Russell Bryant (russell) 2004-12-19 20:17:00.000-0600

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:17:19.000-0600

Repository: asterisk
Revision: 4496

U   branches/v1-0/codecs/gsm/Makefile

r4496 | russell | 2008-01-15 15:17:18 -0600 (Tue, 15 Jan 2008) | 2 lines

remove codecs/gsm/lib with make clean (bug ASTERISK-2976)