At least in version 1.6.0.x you can specify a macro to be executed when the agent answers the queued call. This is an argument to the queue application.
Queue(queuename[,options[,URL][,announceoverride][,timeout][,AGI][,macro][,g osub][,rule]) The optional macro parameter will run a macro on the calling party's channel once they are connected to a queue member. Here is what my Macro does: exten => s,1,UserEvent(DidQueue,ActionID:${CfMC_ActionID} & ${UNIQUEID} & ${CHANNEL} & ${CfMC_AgentToUse} & ${CfMC_DialInfo} & ${CfMC_QueueToUse} & ${MEMBERINTERFACE} & ${MEMBERNAME}) ${MEMBERINTERFACE} and ${MEMBERNAME} have info about the agent that answered the call. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC http://www.cfmc.com/ > From: Luis Morales <faston...@gmail.com> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Date: Tue, 14 Apr 2009 13:17:49 -0430 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Subject: Re: [asterisk-users] Ring All Queue > > Try to parser queue_log file in real time and catch the event CONNECT > > Regards, > > Luis Morales > > On Tue, Apr 14, 2009 at 12:44 PM, Ryan M. Colbert > <ryan.colb...@rissman.com> wrote: >> Is there a way in the dialplan to figure out which agent in a ring all queue >> answered a line? I¹d like to take specific action based on the agent upon >> hangup. >> >> >> >> Ryan M. Colbert >> Director of Information Technology >> Rissman, Barrett, Hurt, >> >> Donahue & McLain, P.A. >> 201 E. Pine Street, Suite 1500 >> Orlando, FL 32801 >> (407) 517-3105 Direct Telephone >> (407) 839-0120 - Main Office >> (407) 841-9726 Fax >> http://www.rissman.com/ >> >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > > > -- > ------------------------------------------------------------------------------ > --- > Luis Morales > Consultor de Tecnologia > Cel: +(58)416-4242091 > ------------------------------------------------------------------------------ > --- > "Empieza por hacer lo necesario, luego lo que es posible... y de > pronto estarás haciendo lo imposible" > > Leonardo Da'Vinci > ------------------------------------------------------------------------------ > --- > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users