Hi all Try this:
in queues.conf there is a parameter called Set Interface Var . Set it to yes : setinterfacevar=yes Then, you will have access to a variable called MEMBERINTERFACE in the dialplan. This variable will store the member name or the extension that pick up the call in the queue. I hope this help. regards Juan Cuervo juanrcue...@yahoo.com ________________________________ From: J. G. <pallet...@gmail.com> To: asterisk-perl@lists.gnuinter.net Sent: Wed, July 7, 2010 3:50:51 PM Subject: Re: Knowing who answered a call..? Got it to work - used "BRIDGEPEER" then scrubbed the bridged channel with chup to get to the extension On Wed, Jul 7, 2010 at 12:37 PM, J. G. <pallet...@gmail.com> wrote: Hey gang, >I have a nice AGI script that records a call via MixMonitor after doing some >database lookup. What I am not figuring out is how to tell what extension >answered the call after it was handed off to a queue. > > $AGI->exec('MixMonitor',$fileName . '|b'); > $AGI->exec('Queue','TestQueue'); > my $ExtThatAnsweredTheQueueCall = ?; > >I want to then append the extension that answered into the $fileName, which is >easy enough once I figure out who answered the queue call. > >Any ideas? > >Thanks! >PB >