On 2/14/07, gc <[EMAIL PROTECTED]> 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
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
