Summary:ASTERISK-06660: [branch] add a parameter to app_queue to allow for an AGI/FastAGI script to be executed
Reporter:BJ Weschke (bweschke)Labels:
Date Opened:2006-03-29 22:34:30.000-0600Date Closed:2006-05-05 16:23:34
Versions:Frequency of
Description:... when the caller is about to be bridged with the chosen/connected queue member.


Code is in the branch at http://svn.digium.com/svn/asterisk/team/bweschke/queue_improvements/
Comments:By: Daniel Grace (negativeview) 2006-03-30 10:44:03.000-0600

I see the changes in try_calling. I do not see where any channel variables are being set and the agi script seems to be running before the channels are bridged.

How is the agi script supposed to know which queue member has been selected? Am I missing more changes related to agi scripts?

By: BJ Weschke (bweschke) 2006-03-30 20:22:44.000-0600

yes - the AGI script is intended to run prior to bridging. It must be this way as we cannot execute an AGI (that could possibly invoke playbacks and other actions on the channel) on a channel that is bridged.

with regard to channel variables, we'll be adding a config file parameter for queues.conf that allows the MEMBERINTERFACE variable to be populated with the value of the member interface chosen to take the call and that variable will be populated prior to the AGI firing off if you've selected to fire off an AGI.

By: Tilghman Lesher (tilghman) 2006-03-30 22:17:38.000-0600

Interesting.  This is the same functionality as what the eventwhencalled parameter was set for, except that is done with a manager interface, rather than an AGI.  Of course, the intent of that is to work with the agent, rather than to work with the caller.

By: BJ Weschke (bweschke) 2006-05-05 16:23:34

Committed to /trunk after several testers submitted through private feedback that this was working well for them.