Julian Lyndon-Smith
2006-Oct-27 07:08 UTC
[asterisk-users] Enhancements for the Queue application
issue #8126 (http://bugs.digium.com/view.php?id=8216) on mantis is a patch for the queue system which allows you to specify a macro to run when a member is connected to a queue call, either by a configuration parameter in queues.conf or as an optional parameter on the Queue application. It also allows you to specify that certain variables are set when the member is connected. if setinterfacevar is yes MEMBERCALLS is the number of calls that interface has taken, MEMBERLASTCALL is the last time the member took a call. MEMBERPENALTY is the penalty of the member MEMBERDYNAMIC indicates if a member is dynamic or not if setqueueentryvar is yes QEHOLDTIME callers hold time QEORIGINALPOS original position of the caller in the queue if setqueuevar is yes QUEUEMAX maxmimum number of calls allowed QUEUESTRATEGY the strategy of the queue; QUEUECALLS number of calls currently in the queue QUEUEHOLDTIME current average hold time QUEUECOMPLETED number of completed calls for the queue QUEUEABANDONED number of abandoned calls QUEUESRVLEVEL queue service level QUEUESRVLEVELPERF current service level performance It also adds a new function called QUEUE_VARIABLES(<queuename>) which sets the Queue variables described above. This means now that you can access queue stats for a certain queue from within the dialplan. If anybody can, I would appreciate it if you could test it to see if it works for you. Suggestions and comments are most welcome. Julian