Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] asterisk 1.4 QUEUES Variables


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
mmichelson at digium.com
Guest





PostPosted: Tue May 27, 2008 2:23 pm    Post subject: [asterisk-users] asterisk 1.4 QUEUES Variables Reply with quote

Gustavo A Gonzalez wrote:
Quote:
I have running an Asterisk 1.4.20 box and I want to get the value of
the MEMBERINTERFACE variable to know about which queue member received
the call. I set 'setinterfacevar=' to 'yes' in queues.conf but I can?t
get this value. From a php AGI how I can read this value? Some example?


That is highly dependent on when you attempt to get the value. The
MEMBERINTERFACE variable is set once a member has answered the call, so if you
are running your AGI before that, then MEMBERINTERFACE will be empty. One option
you have is to pass the name of an AGI script as the sixth argument to Queue().
This AGI will run between when the member answers the call and when the call is
bridged. At that point, the MEMBERINTERFACE variable will be populated with the
correct string.

Mark Michelson
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services