Queue Asterisk 18

Hello, I have a situation with asterisk queue

queues.conf
[general]
persistentmembers = yes
monitor-type = MixMonitor

[9301]
musicclass=default
strategy = ringall
timeout = 9000
wrapuptime=1000
joinempty=strict
member => Local/9301@agents

agents.conf
[general]
[9301]
wrapuptime=1000
musiconhold=default
custom_beep=beep

I make a login with AgentLogin

exten=> *1,1,AgentLogin(9301,s)

When a send a call to Queue(9301) the first call works fine.

After first call finished the next calls dont work more

The clients listen in musiconhold but the Local/9301 is avaliable

9301 has 1 calls (max unlimited) in ‘ringall’ strategy (0s holdtime, 0s talktime), W:0, C:2, A:10, SL:50.0%, SL2:33.3% within 0s
Members:
Local/9301@agents (ringinuse enabled) (Not in use) has taken 1 calls (last was 68 secs ago) (login was 81 secs ago)
Callers:
1. PJSIP/9303-00000020 (wait: 0:30, prio: 0)

The channel 9303 is in queue but the call dont go to Local/9301

Has the agent transferred the call? If so, whilst they may be free, the local channel is not.

The first call after my configuration (queue.conf and agents.conf) works, the agent (Local/9301@agents) talk with client and finish (hangup) , the next call dont go to agent (Local/9301@agents) the client keep in music.

Please enable the full log and set verbosity to at least 5. When posting the log, make sure you mark it up as pre-formatted text.

First Call WORKS
– Executing [9301@geral:1] Set(“PJSIP/9303-00000004”, “CDR(userfield)=ENTRADA”) in new stack
– Executing [9301@geral:2] Set(“PJSIP/9303-00000004”, “__HABILITAT1=t”) in new stack
– Executing [9301@geral:3] Set(“PJSIP/9303-00000004”, “__HABILITAT2=T”) in new stack
– Executing [9301@geral:4] Set(“PJSIP/9303-00000004”, “_CHAMADAPABX=E”) in new stack
– Executing [9301@geral:5] Set(“PJSIP/9303-00000004”, “__RAMALPABX=9301”) in new stack
– Executing [9301@geral:6] Set(“PJSIP/9303-00000004”, “QTDE=0”) in new stack
– Executing [9301@geral:7] Set(“PJSIP/9303-00000004”, “_BINAANIMAL=9303”) in new stack
– Executing [9301@geral:8] Set(“PJSIP/9303-00000004”, “TRUST=0”) in new stack
– Executing [9301@geral:9] Set(“PJSIP/9303-00000004”, “DDAC=0”) in new stack
– Executing [9301@geral:10] Set(“PJSIP/9303-00000004”, “FILA_RAMAL=0”) in new stack
– Executing [9301@geral:11] Set(“PJSIP/9303-00000004”, “TRANSFERENCIADAC=0”) in new stack
– Executing [9301@geral:12] GotoIf(“PJSIP/9303-00000004”, “0?prox:VAICLI”) in new stack
– Goto (geral,9301,13)
– Executing [9301@geral:13] Set(“PJSIP/9303-00000004”, “_variable1=PJSIP/9303”) in new stack
– Executing [9301@geral:14] Set(“PJSIP/9303-00000004”, “_variable1=9303”) in new stack
– Executing [9301@geral:15] Set(“PJSIP/9303-00000004”, “__FROMCALLERID=9303”) in new stack
– Executing [9301@geral:16] GotoIf(“PJSIP/9303-00000004”, “0?CONTINUATR:TR”) in new stack
– Goto (geral,9301,18)

-- Executing [9301@geral:81] Answer("PJSIP/9303-00000004", "") in new stack
   > 0x7f516006be90 -- Strict RTP learning after remote address set to: 177.53.246.173:4028
   > 0x7f516006be90 -- Strict RTP switching to RTP target address 177.53.246.173:4028 as source
-- Executing [9301@geral:82] Queue("PJSIP/9303-00000004", "9301,nTt,,,,,,,,") in new stack
-- Started music on hold, class 'default', on channel 'PJSIP/9303-00000004'
-- Called Local/9301@agents
-- Executing [9301@agents:1] AgentRequest("Local/9301@agents-00000001;2", "9301") in new stack
-- Channel Local/9301@agents-00000001;2 joined 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Stopped music on hold on PJSIP/9301-00000003
-- Local/9301@agents-00000001;1 is ringing
-- <PJSIP/9301-00000003> Playing 'beep.gsm' (language 'pt_BR')
-- Channel PJSIP/9301-00000003 left 'holding_bridge' agent_hold-bridge <55b3b786-5445-43a1-b33a-b65d091310fe>
-- Channel PJSIP/9301-00000003 joined 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Local/9301@agents-00000001;1 connected line has changed. Saving it until answer for PJSIP/9303-00000004
-- Local/9301@agents-00000001;1 answered PJSIP/9303-00000004
-- Stopped music on hold on PJSIP/9303-00000004
-- Channel Local/9301@agents-00000001;1 joined 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9303-00000004 joined 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
   > Move-swap optimizing Local/9301@agents-00000001;1 <-- PJSIP/9301-00000003.
-- Channel PJSIP/9301-00000003 left 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Channel Local/9301@agents-00000001;1 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9301-00000003 swapped with Local/9301@agents-00000001;1 into 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel Local/9301@agents-00000001;2 left 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>

== Spawn extension (agents, 9301, 1) exited non-zero on ‘Local/9301@agents-00000001;2’

   > 0x7f516006be90 -- Strict RTP learning complete - Locking on source address 177.53.246.173:4028
-- Channel PJSIP/9303-00000004 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9301-00000003 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>

== Spawn extension (geral, 9301, 82) exited non-zero on ‘PJSIP/9303-00000004’
– Executing [h@geral:1] Set(“PJSIP/9303-00000004”, “CALLERID(num)=9303”) in new stack
– Executing [h@geral:2] NoOp(“PJSIP/9303-00000004”, “Hangupcause: 16 → 9303”) in new stack
– Channel PJSIP/9301-00000003 joined ‘holding_bridge’ agent_hold-bridge <55b3b786-5445-43a1-b33a-b65d091310fe>
– Executing [h@geral:3] CELGenUserEvent(“PJSIP/9303-00000004”, “HANGUPCAUSE,16”) in new stack
– Executing [h@geral:4] AGI(“PJSIP/9303-00000004”,
– Started music on hold, class ‘default’, on channel ‘PJSIP/9301-00000003’

-- Executing [h@geral:5] CELGenUserEvent("PJSIP/9303-00000004", "DIALSTATUS,") in new stack
-- Executing [h@geral:6] NoOp("PJSIP/9303-00000004", "Mixar: ") in new stack
-- Executing [h@geral:7] Hangup("PJSIP/9303-00000004", "") in new stack

SECOND CALL - DONT GO TO Local/9301@agents

-- Executing [9301@geral:1] Set("PJSIP/9303-00000005", "CDR(userfield)=ENTRADA") in new stack
-- Executing [9301@geral:2] Set("PJSIP/9303-00000005", "__HABILITAT1=t") in new stack
-- Executing [9301@geral:3] Set("PJSIP/9303-00000005", "__HABILITAT2=T") in new stack
-- Executing [9301@geral:4] Set("PJSIP/9303-00000005", "_CHAMADAPABX=E") in new stack
-- Executing [9301@geral:5] Set("PJSIP/9303-00000005", "__RAMALPABX=9301") in new stack
-- Executing [9301@geral:6] Set("PJSIP/9303-00000005", "QTDE=0") in new stack
-- Executing [9301@geral:7] Set("PJSIP/9303-00000005", "_BINAANIMAL=9303") in new stack
-- Executing [9301@geral:8] Set("PJSIP/9303-00000005", "TRUST=0") in new stack
-- Executing [9301@geral:9] Set("PJSIP/9303-00000005", "DDAC=0") in new stack
-- Executing [9301@geral:10] Set("PJSIP/9303-00000005", "FILA_RAMAL=0") in new stack
-- Executing [9301@geral:11] Set("PJSIP/9303-00000005", "TRANSFERENCIADAC=0") in new stack
-- Executing [9301@geral:12] GotoIf("PJSIP/9303-00000005", "0?prox:VAICLI") in new stack
-- Goto (geral,9301,13)
-- Executing [9301@geral:13] Set("PJSIP/9303-00000005", "_variable1=PJSIP/9303") in new stack
-- Executing [9301@geral:14] Set("PJSIP/9303-00000005", "_variable1=9303") in new stack
-- Executing [9301@geral:15] Set("PJSIP/9303-00000005", "__FROMCALLERID=9303") in new stack
-- Executing [9301@geral:16] GotoIf("PJSIP/9303-00000005", "0?CONTINUATR:TR") in new stack
-- Goto (geral,9301,18)

-- Executing [9301@geral:81] Answer("PJSIP/9303-00000005", "") in new stack
   > 0x7f5160071110 -- Strict RTP learning after remote address set to: 177.53.246.173:4030
-- Executing [9301@geral:82] Queue("PJSIP/9303-00000005", "9301,nTt,,,,,,,,") in new stack
-- Started music on hold, class 'default', on channel 'PJSIP/9303-00000005'
   > 0x7f5160071110 -- Strict RTP switching to RTP target address 177.53.246.173:4030 as source

queue show 9301

Result:
Members:
Local/9301@agents (ringinuse enabled) (Not in use) has taken 1 calls (last was 351 secs ago) (login was 368 secs ago)
Callers:
1. PJSIP/9303-00000007 (wait: 0:11, prio: 0)

The call keep in hold and don’t go to Local/9301@agents