Just in case anyone wants a copy I posted this change to app_queue.c that lets you offer a penalty arguement to AddQueueMember AddQueueMember(queuename[|penalty][|interface]) so if you are dynamicly adding an agent to a bunch of queues you can set a penalty to indicate thier order of importance. http://asterisk.650dialup.com --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031016/f850b96d/attachment.htm