diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-05-20 15:52:20 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-05-20 15:52:20 +0000 |
commit | 0436c501c9329bae04c22f2830629449b6fdc91c (patch) | |
tree | 4f3699108db949f466bbff06b3128db8f8d8bb47 /main/pbx.c | |
parent | f90bc95f0d9f82121bec6ddea6b9d8158aef2285 (diff) |
Merged revisions 319997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r319997 | rmudgett | 2011-05-20 10:48:25 -0500 (Fri, 20 May 2011) | 25 lines
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/trunk@319998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
0 files changed, 0 insertions, 0 deletions