diff --git a/main/features.c b/main/features.c index f35a2475a8..44f0eb8296 100644 --- a/main/features.c +++ b/main/features.c @@ -4133,7 +4133,7 @@ int manage_parkinglot(struct ast_parkinglot *curlot, const struct pollfd *pfds, continue; } - if (pfds[y].revents & POLLERR) { + if (pfds[y].revents & POLLPRI) { ast_set_flag(chan, AST_FLAG_EXCEPTION); } else { ast_clear_flag(chan, AST_FLAG_EXCEPTION);