Summary:ASTERISK-12715: R141503 reverted fix for one-touch parking crash and asterisk crashes again
Reporter:mdu113 (mdu113)Labels:
Date Opened:2008-09-11 12:17:40Date Closed:2008-09-16 11:04:50
Versions:Frequency of
Environment:Attachments:( 0) bt-onetouch08052008.txt
Description:Revision 141503 (fixes issue 13434) reverted fix for one-touch parking from extension dialed by AGI made in r141028 (issue 11979) and so the problem described in issue 11979 reappeared.
If one-touch parking is initiated by callee (A calls B, B answers and dials feature code to park A) and that call is dialed by AGI then asterisk crashes
Comments:By: Jeff Peeler (jpeeler) 2008-09-12 16:16:32

My fix for issue 13425 fixes this problem as well.

By: Jeff Peeler (jpeeler) 2008-09-15 10:09:54

I wasn't actually ready for this to be closed, since the fix has not been committed yet.

By: Digium Subversion (svnbot) 2008-09-16 11:04:47

Repository: asterisk
Revision: 143204

U   branches/1.4/res/res_features.c

r143204 | jpeeler | 2008-09-16 11:04:46 -0500 (Tue, 16 Sep 2008) | 10 lines

(closes issue ASTERISK-12715)
(closes issue ASTERISK-12685)
Reported by: mdu113
     bug13425.diff uploaded by jpeeler (license 325)
Tested by: mdu113

The main change here was to masquerade the channel if the channel that was to be parked was running a PBX on it. The PBX thread can then maintain full control of the channel (the zombie) as it expects to while allowing the parking thread full control of the real (parked) channel.