diff --git a/apps/app_queue.c b/apps/app_queue.c index b3d4d408851c1f4ead50b34c38e67987edc2b711..f02ed44070a5b093ea29477569bba0c9df9c527a 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3624,7 +3624,7 @@ static int ring_entry(struct queue_ent *qe, struct callattempt *tmp, int *busies ++*busies; return 0; } - ast_assert(qe->parent->ringinuse || tmp->member->call_pending); + ast_assert(tmp->member->ringinuse || tmp->member->call_pending); ast_copy_string(tech, tmp->interface, sizeof(tech)); if ((location = strchr(tech, '/'))) {