Mariano Lecuona
2010-Feb-17 20:47 UTC
[asterisk-users] queue.conf - Set(MONITOR_FILENAME=${})
All, I am trying to set a monitor file from the queue.conf as specified on http://www.voip-info.org/wiki/view/Asterisk+config+queues.conf In order to avoid the default MONITOR_FILENAME format wich is: "agent-xxxxx-uniqueid.wav" for example "agent-10017-1266438575-26.wav" As you may now, when using the queue command you are not able to know which agent will take the call, until someone take it, so its impossible to set the MONITOR_FILENAME with the agent number before executing the exten => s,x,QUEUE(${Q_NAME}||||${TIMEOUT}) Could anyone get the MONITOR_FILENAME set from the queue.conf with variables like: MEMBERINTERFACE is the interface name (eg. Agent/1234) MEMBERNAME is the member name (eg. Joe Soap) 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 MEMBERREALTIME indicates if a member is realtime or not or QUEUENAME name of the queue 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 My version of asterisk is: 1.4.23.1 Thanks ML -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100217/92460fa5/attachment.htm
Warren Selby
2010-Feb-18 02:56 UTC
[asterisk-users] queue.conf - Set(MONITOR_FILENAME=${})
On Wed, Feb 17, 2010 at 2:47 PM, Mariano Lecuona <mlecuona at gmail.com> wrote:> Could anyone get the MONITOR_FILENAME set from the queue.conf with > variables like: > > MEMBERINTERFACE is the interface name (eg. Agent/1234) > MEMBERNAME is the member name (eg. Joe Soap) > 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 > MEMBERREALTIME indicates if a member is realtime or not > > or > > QUEUENAME name of the queue > 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 > > My version of asterisk is: 1.4.23.1 > > Thanks > > ML > >This doesn't directly answer your question, but you may look at setting a unique filename before entering the queue, then do some post processing in the "h" extension? -- Thanks, --Warren Selby http://www.selbytech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100217/7aa89fb1/attachment.htm