diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 30e62dd6250cd1f8e2d0e7fe1386e0219ef2dc69..aeb537c4f96ebf006163850a76a23b8858ac7d0a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -957,7 +957,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c snprintf(user->namerecloc, sizeof(user->namerecloc), "%s/meetme/meetme-username-%s-%d", ast_config_AST_SPOOL_DIR, conf->confno, user->user_no); - ast_record_review(chan, "vm-rec-name", user->namerecloc, 10, "sln", &duration, NULL); + res = ast_record_review(chan, "vm-rec-name", user->namerecloc, 10, "sln", &duration, NULL); + if (res == -1) + goto outrun; } if ( !(confflags & (CONFFLAG_QUIET | CONFFLAG_NOONLYPERSON)) ) {