Hi!
Queue voice about number of positions works only after (After the timeout of the first call, when the queue is sort of restarted.)
Connected to Asterisk 18.5.0 currently running on s353 (pid = 125752)
– Accepting AUTHENTICATED call from 192.68.0.100:4569:
– > requested format = alaw,
– > requested prefs = (alaw),
– > actual format = alaw,
– > host prefs = (alaw),
– > priority = mine
– Executing [2057@office:1] Goto(“IAX2/pbxtors0061-2674”, “test4admins,s,1”) in new stack
– Goto (test4admins,s,1)
– Executing [s@test4admins:1] Answer(“IAX2/pbxtors0061-2674”, “”) in new stack
– Executing [s@test4admins:2] Set(“IAX2/pbxtors0061-2674”, “CHANNEL(language)=en”) in new stack
– Executing [s@test4admins:3] Wait(“IAX2/pbxtors0061-2674”, “2”) in new stack
– Executing [s@test4admins:4] GotoIfTime(“IAX2/pbxtors0061-2674”, “10:00-20:00|mon-fri||?test4admins,s,201”) in new stack
– Goto (test4admins,s,201)
– Executing [s@test4admins:201] BackGround(“IAX2/pbxtors0061-2674”, “Welcome”) in new stack
– <IAX2/pbxtors0061-2674> Playing ‘Welcome.alaw’ (language ‘en’)
– Executing [s@test4admins:202] Wait(“IAX2/pbxtors0061-2674”, “2”) in new stack
– Executing [s@test4admins:203] Queue(“IAX2/pbxtors0061-2674”, “test4admins,t,300”) in new stack
– Started music on hold, class ‘default’, on channel ‘IAX2/pbxtors0061-2674’
– Called Local/2830@office
– Executing [2830@office:1] Dial(“Local/2830@office-000006d3;2”, “SIP/2830”) in new stack
== Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
– Called SIP/2830
– Local/2830@office-000006d3;1 connected line has changed. Saving it until answer for IAX2/pbxtors0061-2674
– SIP/2830-000057e5 is ringing
– Local/2830@office-000006d3;1 is ringing
== Everyone is busy/congested at this time (1:0/0/1)
– Timeout on Local/2830@office-000006d3;2
– Executing [t@office:1] Congestion(“Local/2830@office-000006d3;2”, “1”) in new stack– Local/2830@office-000006d3;1 is circuit-busy
– Nobody picked up in 69000 ms
== Spawn extension (office, t, 1) exited non-zero on ‘Local/2830@office-000006d3;2’
– Stopped music on hold on IAX2/pbxtors0061-2674
!!! – Playing periodic announcement
– <IAX2/pbxtors0061-2674> Playing ‘queue-periodic-announce.alaw’ (language ‘en’)
– Started music on hold, class ‘default’, on channel ‘IAX2/pbxtors0061-2674’
Why? How to fix it?
[test4admins]
exten => s,1,Answer()
exten => s,n,Set(CHANNEL(language)=en)
exten => s,n,Wait(2)
exten => s,n,Queue(test4admins,t,300)
name test4admins
context test4admins
timeout 120
strategy ringall
periodic-announce queue-periodic-announce
periodic-announce-frequency 10