Index: app_queue.c =================================================================== RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v retrieving revision 1.84 diff -u -r1.84 app_queue.c --- app_queue.c 10 Sep 2004 15:11:37 -0000 1.84 +++ app_queue.c 22 Sep 2004 01:43:16 -0000 @@ -404,6 +404,9 @@ /* If either our position has changed, or we are over the freq timer, say position */ 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 ) + return -1; ast_moh_stop(qe->chan); /* Say we're next, if we are */