Delay between ringing members in queue


#1

Hello. I am using a queue with linear strategy and static members. Asterisk correctly rings members in sequence, however there is a 2-3 second delay after one member stops ringing and before next member starts ringing. I would like to eliminate this delay, but I can’t find any parameter that controls it. Asterisk version is 15.1.5. Queues config:

[general]
autofill=yes
shared_lastcall=yes
monitor-type=MixMonitor
updatecdr=yes
persistentmembers=yes

[StandardQueue](!)
strategy=linear
joinempty=no
leavewhenempty=yes
ringinuse=no
timeout=12
maxlen=0
retry=0
announce-position=no
periodic-announce=pleasehold
periodic-announce-frequency=20
setqueueentryvar=yes
setinterfacevar=yes

[Q0800](StandardQueue)
member => PJSIP/201
member => PJSIP/202
member => PJSIP/203
member => PJSIP/204
member => PJSIP/205

#2

retry would be the parameter, but I’m not sure you can set it to zero.


#3

Thanks for the reply. Asterisk documentation in some places indeed states that “retry” parameter controls delay between calling individual members, but after inspecting source code I’ve confirmed that it actually controls the delay after going through entire agent list and trying everyone again. From app_queue.c:

int retry; /*!< Retry calling everyone after this amount of time */


#4

It’s the delay after timeout expires. It will only go through the whole list if all the other ones actively reject the call. At least that is how I recall it to work