Index: apps/app_meetme.c =================================================================== --- apps/app_meetme.c (revision 143269) +++ apps/app_meetme.c (working copy) @@ -2031,16 +2031,15 @@ if (rt_schedule) { if (now.tv_sec % 60 == 0) { if (!checked) { - if (now.tv_sec > conf->endtime) { - ast_verbose("Quitting time...\n"); + if (now.tv_sec >= conf->endtime) { goto outrun; } if (!announcement_played && conf->endalert) { - if (now.tv_sec + conf->endalert > conf->endtime) { + if (now.tv_sec + conf->endalert >= conf->endtime) { if (!ast_streamfile(chan, "conf-will-end-in", chan->language)) ast_waitstream(chan, ""); - ast_say_digits(chan, (now.tv_sec + conf->endalert - conf->endtime) / 60, "", chan->language); + ast_say_digits(chan, (conf->endtime - now.tv_sec) / 60, "", chan->language); if (!ast_streamfile(chan, "minutes", chan->language)) ast_waitstream(chan, ""); announcement_played = 1;