Hi together,
@J.G. could you post an example how you do that? I have no idea how to follow
your
steps.
@Juan,yes exactly that was the variable I tried. This does not do anything. The
variables
MEMBERNAME and MEMBERINTERFACE etc. do not work for me :-( I also tried to use
qholdtime
which also does not work.
Seems as if the queue variables do not get filled.
cheers
Martin
----- Original Message -----
From:
Juan Cuervo
To:
J. G.
;
asterisk-perl@lists.gnuinter.net
Sent: Thursday, July 08, 2010 4:48 AM
Subject: Re: Knowing who answered a call..?
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