Index: asterisk/apps/app_queue.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v retrieving revision 1.87 diff -u -r1.87 app_queue.c --- asterisk/apps/app_queue.c 29 Sep 2004 14:06:59 -0000 1.87 +++ asterisk/apps/app_queue.c 27 Oct 2004 22:19:01 -0000 @@ -407,6 +407,13 @@ if ( (qe->last_pos_said == qe->pos) && ((now - qe->last_pos) < qe->parent->announcefrequency) ) return -1; + /* If we are first and there is an agent active, override announce */ + if ( (qe->last_pos_said == 0) && (qe->pos == 1) && qe->parent->members ) { + qe->last_pos = now; + qe->last_pos_said = qe->pos; + return -1; + } + ast_moh_stop(qe->chan); /* Say we're next, if we are */ if (qe->pos == 1) {