summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index eaef42b1f..5b4bc80d6 100644
--- a/main/features.c
+++ b/main/features.c
@@ -3963,7 +3963,7 @@ static int park_exec_full(struct ast_channel *chan, const char *data, struct ast
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;