Files
asterisk/apps
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-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00
2010-03-02 19:39:58 +00:00
2010-07-14 15:48:36 +00:00
2011-05-03 21:41:11 +00:00
2009-08-10 19:20:57 +00:00
2009-08-10 19:20:57 +00:00
2010-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00
2010-01-13 16:31:14 +00:00
2009-08-10 19:20:57 +00:00
2010-07-14 15:48:36 +00:00
2010-07-14 15:48:36 +00:00