diff --git a/apps/app_meetme.c b/apps/app_meetme.c index f632bef5cf..8b24b3c5c1 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -4140,10 +4140,11 @@ static int conf_exec(struct ast_channel *chan, const char *data) res = -1; } } else { - if ((!ast_strlen_zero(cnf->pin) && - !ast_test_flag64(&confflags, CONFFLAG_ADMIN)) || + if (((!ast_strlen_zero(cnf->pin) && + !ast_test_flag(&confflags, CONFFLAG_ADMIN)) || (!ast_strlen_zero(cnf->pinadmin) && - ast_test_flag64(&confflags, CONFFLAG_ADMIN))) { + ast_test_flag(&confflags, CONFFLAG_ADMIN))) && + (!(cnf->users == 0 && cnf->isdynamic))) { char pin[MAX_PIN] = ""; int j;