--- app_queue.c.orig 2009-06-03 08:52:11.000000000 +0200 +++ app_queue.c 2009-06-03 08:52:53.000000000 +0200 @@ -2129,10 +2129,11 @@ /* Resume Music on Hold if the caller is going to stay in the queue */ if (!res) ast_moh_start(qe->chan, qe->moh, NULL); /* update last_periodic_announce_time */ + time(&now); qe->last_periodic_announce_time = now; /* Update the current periodic announcement to the next announcement */ qe->last_periodic_announce_sound++;