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 >