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
..
2009-08-01 11:29:25 +00:00
2010-07-27 22:30:38 +00:00
2010-10-14 18:45:02 +00:00
2010-12-02 18:13:49 +00:00
2011-01-28 20:19:08 +00:00
2009-08-19 22:38:46 +00:00
2010-12-20 09:14:29 +00:00
2011-01-19 20:24:57 +00:00
2010-10-28 20:00:06 +00:00
2011-03-07 00:54:42 +00:00
2010-10-28 20:00:06 +00:00
2010-10-28 20:00:06 +00:00
2011-03-07 00:54:42 +00:00
2011-05-03 19:55:49 +00:00
2010-07-14 20:48:59 +00:00
2010-09-24 03:42:37 +00:00
2009-11-06 15:42:46 +00:00
2009-05-22 16:53:41 +00:00
2011-02-09 21:06:33 +00:00
2011-05-03 19:55:49 +00:00
2009-04-24 14:04:26 +00:00
2010-07-20 22:26:23 +00:00
2011-05-19 23:28:13 +00:00
2008-10-30 16:49:02 +00:00
2011-03-14 16:50:59 +00:00
2011-05-19 16:50:48 +00:00
2011-05-03 19:55:49 +00:00
2010-08-23 13:23:12 +00:00
2011-05-13 18:09:34 +00:00
2008-10-14 22:38:06 +00:00
2011-04-15 15:08:05 +00:00
2011-05-03 19:55:49 +00:00
2007-12-11 22:20:22 +00:00
2010-07-09 17:00:22 +00:00
2010-07-01 22:16:23 +00:00
2010-09-10 20:31:58 +00:00
2010-11-10 12:46:27 +00:00
2010-07-14 15:48:36 +00:00
2009-07-08 16:43:12 +00:00
2010-09-21 15:43:33 +00:00
2011-05-16 21:00:55 +00:00
2010-01-18 22:31:25 +00:00
2010-11-20 00:50:00 +00:00
2011-05-20 15:48:25 +00:00
2011-01-26 01:26:26 +00:00
2010-07-02 15:57:02 +00:00
2008-08-06 00:30:53 +00:00
2010-06-17 17:23:43 +00:00
2010-09-20 22:09:16 +00:00
2011-05-03 19:55:49 +00:00
2008-07-21 20:59:03 +00:00
2008-07-21 21:00:47 +00:00
2010-06-08 05:29:08 +00:00
2009-03-11 00:29:59 +00:00
2011-01-31 06:41:36 +00:00
2011-05-05 02:30:45 +00:00
2009-06-15 17:34:30 +00:00
2010-07-08 14:48:42 +00:00
2009-03-18 02:28:55 +00:00
2009-02-10 18:16:31 +00:00
2010-09-02 05:20:59 +00:00
2011-04-20 05:25:15 +00:00
2011-02-08 21:24:01 +00:00
2010-12-17 23:52:04 +00:00
2011-05-10 18:46:25 +00:00
2007-11-16 20:04:58 +00:00
2010-10-18 19:50:04 +00:00
2010-12-10 16:26:46 +00:00
2011-05-06 21:06:33 +00:00
2011-05-03 19:55:49 +00:00
2010-09-07 19:08:09 +00:00
2007-11-21 23:09:02 +00:00
2011-05-03 19:55:49 +00:00
2010-12-18 00:09:49 +00:00
2010-08-10 18:05:07 +00:00
2009-07-11 19:15:03 +00:00
2007-11-21 00:23:49 +00:00
2009-11-04 14:05:12 +00:00
2010-07-16 13:32:22 +00:00
2009-07-09 08:31:24 +00:00
2011-01-10 22:39:31 +00:00
2010-05-18 22:48:51 +00:00
2010-09-02 05:00:34 +00:00
2009-06-26 13:00:35 +00:00
2010-02-22 06:45:52 +00:00
2011-04-19 15:42:10 +00:00
2009-04-01 20:13:28 +00:00
2010-07-27 22:30:38 +00:00
2010-07-09 17:00:22 +00:00
2009-06-01 15:23:21 +00:00
2010-11-08 21:59:45 +00:00
2010-08-12 20:15:41 +00:00
2011-05-03 19:55:49 +00:00
2009-08-19 22:38:46 +00:00
2011-05-05 02:25:20 +00:00
2010-04-22 18:07:02 +00:00
2011-01-04 21:53:27 +00:00