Queue doesn't works correctly

Hi,

I have a queue with leastrecen strategy and priorities in Asterisk 11.13.1. My problem is that when a call comes in, call an extension during the timeout seconds but do not jump to the next extension while this is free.

queues.conf:

[queue1]
ringinuse=no
music=default
strategy=leastrecent
timeout=12
retry=1
wrapuptime=0
maxlen = 0
eventwhencalled=yes
announce-holdtime = yes
announce-position=yes
announce-frequency = 25
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
queue-holdtime=queue-holdtime
queue-minutes=queue-minutes
queue-seconds=queue-seconds
member => SIP/302,1
member => SIP/303,1
member => SIP/304,1
member => SIP/305,1
member => SIP/306,1
member => SIP/307,1
member => SIP/315,1
member => SIP/316,1
member => SIP/317,1
member => SIP/353,2
member => SIP/354,2
member => SIP/355,2
member => SIP/351,3
member => SIP/352,3

CLI:

queue1 has 0 calls (max unlimited) in ‘leastrecent’ strategy (137s holdtime, 388s talktime), W:0, C:4, A:3, SL:0.0% within 0s
Members:
SIP/302 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/303 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/304 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/305 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/306 with penalty 1 (ringinuse disabled) (Not in use) has taken 2 calls (last was 307 secs ago)
SIP/307 with penalty 1 (ringinuse disabled) (Ringing) has taken 1 calls (last was 1129 secs ago)
SIP/315 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/316 with penalty 1 (ringinuse disabled) (Unavailable) has taken 1 calls (last was 2109 secs ago)
SIP/317 with penalty 1 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/353 with penalty 2 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/354 with penalty 2 (ringinuse disabled) (Not in use) has taken no calls yet
SIP/355 with penalty 2 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/351 with penalty 3 (ringinuse disabled) (Unavailable) has taken no calls yet
SIP/352 with penalty 3 (ringinuse disabled) (Unavailable) has taken no calls yet
No Callers

The incoming call, calls extension 307, “Nobody picked up in 12000 ms”, and queue calls the extension 307 again.

Any ideas?

Member status is Unavailable , this mean the agent is a member of the queue but has not logged in, then do not consider the member to be available, so Asterisk wont send calls to that queue member, make sure you have callcounter setting enable, in order Asterisk can monitor the correct state of the device