Hello,
I am using Asterisk 1.8.22.0. When I configured simple queue with static members I have found that there is a 5 sec. pause between stop ringing of an agent (no answer) and start ringing next agent. In trace I have got following:
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [700@from-internal:1] NoOp(“SIP/Teko-Asterisk-00000013”, “”) in new stack
– Executing [700@from-internal:2] Answer(“SIP/Teko-Asterisk-00000013”, “”) in new stack
– Executing [700@from-internal:3] Wait(“SIP/Teko-Asterisk-00000013”, “1”) in new stack
– Executing [700@from-internal:4] Set(“SIP/Teko-Asterisk-00000013”, “TIMEOUT(digit)=2”) in new stack
– Digit timeout set to 2.000
– Executing [700@from-internal:5] Set(“SIP/Teko-Asterisk-00000013”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10.000
– Executing [700@from-internal:6] Queue(“SIP/Teko-Asterisk-00000013”, “700,Hn,300”) in new stack
– Started music on hold, class ‘default’, on SIP/Teko-Asterisk-00000013
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/100
– SIP/100-00000014 is ringing
– Nobody picked up in 20000 ms
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/101
– SIP/101-00000015 is ringing
– Stopped music on hold on SIP/Teko-Asterisk-00000013
== Spawn extension (from-internal, 700, 6) exited non-zero on ‘SIP/Teko-Asterisk-00000013’
– Executing [h@from-internal:1] Hangup(“SIP/Teko-Asterisk-00000013”, “”) in new stack
There is no time stamps, but there is 5 secs between stop calling agent 100 and start calling agent101. It seems that this delay comes from Queue() application itself.
Here is how I call Queue() application:
exten => 700,1,noop
exten => 700,n,answer
exten => 700,n,wait(1)
exten => 700,n,Queue(700,Hn,300)
Can someone gives me a suggestion how to decrease this time?
It will be really appreciated.