[asterisk-users] AgentCallBackLogin vs AddQueueMember

James FitzGibbon james.fitzgibbon at gmail.com
Wed Feb 14 14:44:46 MST 2007


On 2/14/07, gc <garych at unidial.com> wrote:

So you have to hard code each queue name in the dialplan for an agent to
> login. What about hundreds of agents login 30-40 different queues?  If this
> is the only way to do it,  I will not use AddQueueMember at all. I  do not
> know the reason for deprecating AgentCallBackLogin. But I do think remove it
> without appropriate replacement is bad idea.
>

I said that mine was a contrived example; even for a scenario where one
agent always logs into the same two queues each day you'd want to do some
kind of database or template driven queue login.  Authenticate the agent,
then look up the queues they should be in and call AddQueueMember() multiple
times.

In this respect, AddQueueMember() is no different from
AgentCallbackLogin().  It has to be called (via the dialplan, via AGI, via
the Manager, whatever) once for each queue that an agent is logging into
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070214/9b57c3fb/attachment.htm


More information about the asterisk-users mailing list