Summary:ASTERISK-08145: Queue Agent joinempty handling missing an option.
Reporter:Kevin McAllister (mcallist)Labels:
Date Opened:2006-11-16 14:47:49.000-0600Date Closed:2006-11-16 15:15:36.000-0600
Versions:Frequency of
Description:When you have members of a queue that our agents there is no distinguishing between agents not logged in and agents that are logged in and paused.  Sure they are all unreachable currently.  But we actually liked the behavior prior to the rolling in of issue 7127.

Right now you have joinempty strict, yes and no.  As far as a queue that just has Agent members the states of not logged in and paused are now synonymous.

yes and no will join a queue that has no one logged in, and strict will only join a queue that has users logged in and not paused.

It would be nice to be able to join a queue where users are paused based on some option.  As far as checking the return status, I have no way to determine if none of the members were available because they were paused or because no one was logged in.

The issue at hand was that paused agents were treated as valid logged in agents.  The reporter suggested his original was more heavy handed and didn't leave the option to the user as to how to behave.  

Comments:By: Joshua C. Colp (jcolp) 2006-11-16 15:15:35.000-0600

An option called 'loose' has already been added to trunk which restores this capability you seek. It won't be backported to 1.2 or 1.4 since it is a new feature, but it may be possible for you to backport it yourself and use it. Peace!