Queue problem

Hi,
I’ve this problem: I’ve created a queue with 5 agents (A,B,C,D,E). For exemple 4 agents (A,B,C,D) are busy and 1 agents (E) is free. When I try to call the queue, I see that the call give these steps: Asterisk try to call A for 20 sec, then Asterisk try to call B for 20 sec, Asterisk try to call C for 20 sec, Asterisk try to call D for 20 sec and finally Asterisk try to call E that is free.

I want that Asterisk try to call firstly free agents, instead to call all, included the busy agents.

The policy of the queue must be round robin.

Anyone can help me?

Thanks…

Hi

And your queue.conf looks like ?

Ian

queue.conf

[general]

[default]

#include queues_custom.conf
#include queues_additional.conf

queues_additional.conf

[290]
wrapuptime=0
timeout=20
strategy=rrmemory
retry=5
queue-youarenext=
queue-thereare=
queue-thankyou=queue-thankyou
queue-callswaiting=
music=default
monitor-join=yes
monitor-format=
member=Local/146@from-internal,0
maxlen=0
leavewhenempty=no
joinempty=Yes
context=
announce-holdtime=no
announce-frequency=0

I’ve read that the parameter timeoutrestart or timeoutreset can resolve my problem, do you have any idea?

[quote=“ianplain”]Hi

And your queue.conf looks like ?

Ian[/quote]

Hi, Are the members dynamic ? I can only see one Local channel , whats it point to ?

Ian

Yes,
in the normal use the agents are dynamic…but i’ve posted the only queue where there is a static agends.
I’ve tried to use static agents, but the problem is the same.

It is possible that Asterisk don’t detect the correct state of the extensions, so Asterisk is not enable to esclude the busy extensions of the queue?

[quote=“ianplain”]Hi, Are the members dynamic ? I can only see one Local channel , whats it point to ?

Ian[/quote]

the correct file:

queues_additional.conf

[260] announce-frequency=45 queue-callswaiting=queue-callswaiting queue-thankyou=queue-thankyou queue-thereare=queue-thereare queue-youarenext=queue-youarenext retry=5 rtone=0 strategy=rrmemory timeout=10 music=default monitor-join=yes announce-holdtime=no context= eventmemberstatusoff=Yes eventwhencalled=no joinempty=Yes leavewhenempty=no maxlen=0 monitor-format= wrapuptime=0

If you are using sip phones you have to set call-limit=1, for every sip phone, to get it report the correct state to the queue handling code.

Bye.

You don’t have to set the call-limit to 1, you just have to specify it. For instance, I use Cisco 7912 phones which can have two calls. Simply specifying call-limit=2 for those sip peers will allow them to report their status to a queue. I also use Cisco 7941 phones, which can have virtually unlimited active calls, so I simply set call-limit=10 for all my sip peers.