Multiple call queues

Hi,
I have a system whereby I have 20 agents, and I want them to be able to log into three different call queues.

Here is my agents.conf

[general]
;
; Define whether callbacklogins should be stored in astdb for
; persistence. Persistent logins will be reloaded after
; Asterisk restarts.
;
persistentagents=yes
;
; Agent configuration
;
;
[agents]

group=1
agent => 2001, 2001
agent => 2002, 2002
agent => 2003, 2003
agent => 2004, 2004
agent => 2005, 2005
agent => 2006, 2006
agent => 2007, 2007
agent => 2008, 2008
agent => 2009, 2009

gruop=2
agent => 2101, 2101
agent => 2102, 2102
agent => 2103, 2103
agent => 2104, 2104
agent => 2105, 2105
agent => 2106, 2106
agent => 2107, 2107
agent => 2108, 2108

group=3
agent => 2201, 2201
agent => 2202, 2202
agent => 2206, 2206

And my queues.conf is:

[genera=]
;
; Global settings for call queues
;
; Persistent Members
; Store each dynamic member in each queue in the astdb so that
; when asterisk is restarted, each member will be automatically
; readded into their recorded queues. Default is ‘yes’.
;
persistentmembers = yes
;
; Note that a timeout to fail out of a queue may be passed as part of
; an application call from extensions.conf:
; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
; example: Queue(dave|t|||45)

[MainQueue]
context = internal
strategy = leastrecent
servicelevel = 60
timeout = 30
wrapuptime = 60
maxlen = 9
announce-frequency=20
announce-holdtime = yes
member=Agent/2001
member=Agent/2002
member=Agent/2003
member=Agent/2004
member=Agent/2005
member=Agent/2006
member=Agent/2007
member=Agent/2008
member=Agent/2009

member=Agent/2101
member=Agent/2102
member=Agent/2103
member=Agent/2104
member=Agent/2105
member=Agent/2106
member/Agent/2107
member=Agent/2108

member=Agent/2201
member=Agent/2202
member/Agent/2206

[AberQueue]
context=internal
strategy = leastrecent
servicelevel = 60
timeout = 30
wrapuptime = 60
maxlen = 9
announce-frequency=20
announce-holdtime = yes
member=Agent/2001
member=Agent/2002
member=Agent/2003
member=Agent/2004
member=Agent/2005
member=Agent/2006
member=Agent/2007
member=Agent/2008
member=Agent/2009

member=Agent/2101
member=Agent/2102
member=Agent/2103
member=Agent/2104
member=Agent/2105
member=Agent/2106
member/Agent/2107
member=Agent/2108

member=Agent/2201
member=Agent/2202
member/Agent/2206

[NewtownQueue]
context = internal
strategy = leastrecent
servicelevel = 60
timeout = 30
wrapuptime = 60
maxlen = 9
announce-frequency=20
announce-holdtime = yes
member=Agent/2001
member=Agent/2002
member=Agent/2003
member=Agent/2004
member=Agent/2005
member=Agent/2006
member=Agent/2007
member=Agent/2008
member=Agent/2009

member=Agent/2101
member=Agent/2102
member=Agent/2103
member=Agent/2104
member=Agent/2105
member=Agent/2106
member/Agent/2107
member=Agent/2108

member=Agent/2201
member=Agent/2202
member/Agent/2206

So that’s it. I was hoping that there wuold be an option in AgentCallbackLogin so that I can set which queue the agents is logging into, but I think I have just got the wrong end of the stick. Can anyone elighten me please?

Thanks,

Rob.

double post

I don’t believe you can do that with AgentCallBackLogin. Once the agent is defined as a static member in queues.conf and they log in they are available in all queues they are defined in. You can try to follow my guide here which should work for what you are looking to do. asteriskcookbook.com/wiki/in … ueueMember

If you do use it, please let me know if there were any errors. :smile: