aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index 260f7f5c9..0668ae657 100644
--- a/main/features.c
+++ b/main/features.c
@@ -3403,7 +3403,7 @@ static int park_exec_full(struct ast_channel *chan, void *data, struct ast_parki
AST_LIST_LOCK(&parkinglot->parkings);
AST_LIST_TRAVERSE_SAFE_BEGIN(&parkinglot->parkings, pu, list) {
- if (!data || pu->parkingnum == park) {
+ if (!pu->notquiteyet && (!data || pu->parkingnum == park)) {
if (pu->chan->pbx) { /* do not allow call to be picked up until the PBX thread is finished */
AST_LIST_UNLOCK(&parkinglot->parkings);
return -1;