Воспроизвёл это на тестовом астере со следующими конфигами:
Extensions.conf
[Показать] Спойлер:
[incomming]
exten = _X.,1,Answer()
same = n,Background(tt-weasels)
same = n,Queue(sales,ct);
same = n,Hangup()
exten = _X.,1,Answer()
same = n,Background(tt-weasels)
same = n,Queue(sales,ct);
same = n,Hangup()
Queues.conf
[Показать] Спойлер:
[general]
music = default
[sales]
music = default
wrapuptime=1
autofill = yes
autopause=no
autopausebusy=no
autopausedelay=0
monitor-type = MixMonitor
strategy = ringall
retry=0
ringinuse=no
timeout=15
announce-frequency = 15
queue-youarenext = queue-youarenext ; ("You are now first in line.")
; announce = queue-periodic-announce
queue-thankyou = silence/1
context = from_external
setqueuevar=yes
member = SIP/901
member = SIP/902
music = default
[sales]
music = default
wrapuptime=1
autofill = yes
autopause=no
autopausebusy=no
autopausedelay=0
monitor-type = MixMonitor
strategy = ringall
retry=0
ringinuse=no
timeout=15
announce-frequency = 15
queue-youarenext = queue-youarenext ; ("You are now first in line.")
; announce = queue-periodic-announce
queue-thankyou = silence/1
context = from_external
setqueuevar=yes
member = SIP/901
member = SIP/902
В консоли наблюдается следующее:
[Показать] Спойлер:
== Using SIP RTP CoS mark 5
-- Executing [687798@incomming:1] Answer("SIP/trunk-0000000f", "") in new stack
-- Executing [687798@incomming:2] BackGround("SIP/trunk-0000000f", "tt-weasels") in new stack
-- <SIP/trunk-0000000f> Playing 'tt-weasels.alaw' (language 'ru')
-- Executing [687798@incomming:3] Queue("SIP/trunk-0000000f", "sales,ct") in new stack
-- Started music on hold, class 'default', on channel 'SIP/trunk-0000000f'
== Using SIP RTP CoS mark 5
-- Called SIP/901
-- SIP/901-00000010 connected line has changed. Saving it until answer for SIP/trunk-0000000f
-- SIP/901-00000010 is ringing
-- Nobody picked up in 15000 ms
-- Stopped music on hold on SIP/trunk-0000000f
-- <SIP/trunk-0000000f> Playing 'queue-youarenext.alaw' (language 'ru')
-- Told SIP/trunk-0000000f in sales their queue position (which was 1)
-- <SIP/trunk-0000000f> Playing 'silence/1.alaw' (language 'ru')
-- Started music on hold, class 'default', on channel 'SIP/trunk-0000000f'
== Using SIP RTP CoS mark 5
-- Called SIP/901
-- SIP/901-00000011 connected line has changed. Saving it until answer for SIP/trunk-0000000f
-- SIP/901-00000011 is ringing
-- Stopped music on hold on SIP/trunk-0000000f
== Spawn extension (incomming, 687798, 3) exited non-zero on 'SIP/trunk-0000000f'
-- Executing [687798@incomming:1] Answer("SIP/trunk-0000000f", "") in new stack
-- Executing [687798@incomming:2] BackGround("SIP/trunk-0000000f", "tt-weasels") in new stack
-- <SIP/trunk-0000000f> Playing 'tt-weasels.alaw' (language 'ru')
-- Executing [687798@incomming:3] Queue("SIP/trunk-0000000f", "sales,ct") in new stack
-- Started music on hold, class 'default', on channel 'SIP/trunk-0000000f'
== Using SIP RTP CoS mark 5
-- Called SIP/901
-- SIP/901-00000010 connected line has changed. Saving it until answer for SIP/trunk-0000000f
-- SIP/901-00000010 is ringing
-- Nobody picked up in 15000 ms
-- Stopped music on hold on SIP/trunk-0000000f
-- <SIP/trunk-0000000f> Playing 'queue-youarenext.alaw' (language 'ru')
-- Told SIP/trunk-0000000f in sales their queue position (which was 1)
-- <SIP/trunk-0000000f> Playing 'silence/1.alaw' (language 'ru')
-- Started music on hold, class 'default', on channel 'SIP/trunk-0000000f'
== Using SIP RTP CoS mark 5
-- Called SIP/901
-- SIP/901-00000011 connected line has changed. Saving it until answer for SIP/trunk-0000000f
-- SIP/901-00000011 is ringing
-- Stopped music on hold on SIP/trunk-0000000f
== Spawn extension (incomming, 687798, 3) exited non-zero on 'SIP/trunk-0000000f'
Перечитал уже кучу инфы по очередям и перепробовал различные опции в queue.conf, но пока всё тщетно. Прошу подсказать как добиться постоянного вызова участника при включенном анонсе.