VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
thowinter at googlemai... Guest
|
Posted: Thu Jun 26, 2008 3:51 pm Post subject: [asterisk-users] queues and MEMBERINTERFACE for AGI script |
|
|
Hi,
iam using and queue and starting an AGI script after caller connected to
agent.
How to find out in the script the connected agent, MEMBERINTERFACE seemed to
be not work, either as variable in the queue command and also not in the AGI
script.
How to found out which agent is connected to calling channel?
I try to avoid to using LOCAL channels, because I like the function ringinuse.
regards
Thomas |
|
Back to top |
|
|
davevg at gmail.com Guest
|
Posted: Thu Jun 26, 2008 7:58 pm Post subject: [asterisk-users] queues and MEMBERINTERFACE for AGI script |
|
|
Thomas Winter wrote:
Quote: | Hi,
iam using and queue and starting an AGI script after caller connected to
agent.
How to find out in the script the connected agent, MEMBERINTERFACE seemed to
be not work, either as variable in the queue command and also not in the AGI
script.
How to found out which agent is connected to calling channel?
I try to avoid to using LOCAL channels, because I like the function ringinuse.
regards
Thomas
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
| Thomas,
In queues.conf you need to set the variable setinterfacevar=yes
You'd then pass the AGI to the Queue application with something like this:
exten => some_extension,n,Queue(somequeue,,,,,some.agi)
Then within the AGI you'd retrieve the variable like this:
my $memberinterface = $AGI->get_variable('MEMBERINTERFACE'); # Perl example.
Hope this helps.
-Dave |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|