Files
asterisk/main
Richard Mudgett 7e3bf4936e Crash when using directed pickup applications.
The directed pickup applications can cause a crash if the pickup was
successful because the dialplan keeps executing.

This patch does the following:

* Completes the channel masquerade on a successful pickup before the
application returns.  The channel is now guaranteed a zombie and must not
continue executing the dialplan.

* Changes the return value of the directed pickup applications to return
zero if the pickup failed and nonzero(-1) if the pickup succeeded.

* Made some code optimizations that no longer require re-checking the
pickup channel to see if it is still available to pickup.

(closes issue #19310)
Reported by: remiq
Patches:
      issue19310_v1.8_v2.patch uploaded by rmudgett (license 664)
Tested by: alecdavis, remiq, rmudgett

Review: https://reviewboard.asterisk.org/r/1221/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@319997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-20 15:48:25 +00:00
..
2010-12-20 09:14:29 +00:00
2007-12-11 22:20:22 +00:00
2010-07-14 15:48:36 +00:00
2010-06-17 17:23:43 +00:00
2008-07-21 21:00:47 +00:00
2009-03-18 02:28:55 +00:00
2011-04-20 05:25:15 +00:00
2007-11-21 00:23:49 +00:00
2010-07-16 13:32:22 +00:00
2010-05-18 22:48:51 +00:00
2010-04-22 18:07:02 +00:00