[Home]

Summary:ASTERISK-15842: problem with announce frequence in queues
Reporter:Mark Petersen (roadkill)Labels:
Date Opened:2010-03-19 03:32:40Date Closed:2010-05-26 13:17:34
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:if you have 2 users waiting it a queue the first user will get announce every 30 sec (retry) and the second will get every 10 sec (announce-frequency)


****** ADDITIONAL INFORMATION ******

[test]
timeout=30
autofill=no
shared_lastcall=no
musiconhold=default
leavewhenempty=strict
joinempty=strict
strategy=ringall
announce-frequency=10
periodic-announce-frequency=10
announce-holdtime=no
announce-position=yes
queue-thankyou=
member => Local/781-000413260263-1@DialLine/n,,,SIP/781-000413260263-1
member => Local/781-0090330f2038-1@DialLine/n,,,SIP/781-0090330f2038-1


test has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 0s
  Members:
     Local/781-000413260263-1@DialLine/n (In use) has taken no calls yet
     Local/781-0090330f2038-1@DialLine/n (In use) has taken no calls yet
  No Callers


   -- Executing [s@TestQueue:1] Queue("SIP/4550607781-0000016e", "test,,,,600") in new stack
   -- Started music on hold, class 'default', on SIP/4550607781-0000016e
   -- Executing [781-0090330f2038-1@DialLine:1] Dial("Local/781-0090330f2038-1@DialLine-130b;2", "SIP/781-0090330f2038-1,,T") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Using UDPTL TOS bits 184
 == Using UDPTL CoS mark 5
   -- Called 781-0090330f2038-1
   -- Executing [781-000413260263-1@DialLine:1] Dial("Local/781-000413260263-1@DialLine-f942;2", "SIP/781-000413260263-1,,T") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Using UDPTL TOS bits 184
 == Using UDPTL CoS mark 5
   -- Called 781-000413260263-1
   -- Got SIP response 486 "Busy Here" back from 10.1.27.80
   -- SIP/781-0090330f2038-1-0000016f is busy
 == Everyone is busy/congested at this time (1:1/0/0)
   -- Executing [781-0090330f2038-1@DialLine:30] ExecIf("Local/781-0090330f2038-1@DialLine-130b;2", "1?Wait(1000)") in new stack
   -- Got SIP response 486 "Busy Here" back from 10.1.27.108
   -- SIP/781-000413260263-1-00000170 is busy
 == Everyone is busy/congested at this time (1:1/0/0)
   -- Executing [781-000413260263-1@DialLine:30] ExecIf("Local/781-000413260263-1@DialLine-f942;2", "1?Wait(1000)") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Using UDPTL TOS bits 184
 == Using UDPTL CoS mark 5
    -- Executing [s@TestQueue:1]  Queue("SIP/822-00141ccdf353-1-00000171", "test,,,,600") in new stack
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-thereare.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'digits/2.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-callswaiting.slin' (language 'da')
[Mar 19 08:46:59] NOTICE[17565]: chan_sip.c:19443 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 4545891149-00041324546f-1
   -- Hold time for test is 0 minute(s) 0 seconds
   -- Told SIP/822-00141ccdf353-1-00000171 in test their queue position (which was 2)
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- Playing periodic announcement
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-periodic-announce.alaw' (language 'da')
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-thereare.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'digits/2.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-callswaiting.slin' (language 'da')
   -- Hold time for test is 0 minute(s) 0 seconds
   -- Told SIP/822-00141ccdf353-1-00000171 in test their queue position (which was 2)
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- Playing periodic announcement
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-periodic-announce.alaw' (language 'da')
   -- Nobody picked up in 30000 ms
   -- Nobody picked up in 30000 ms
 == Spawn extension (DialLine, 781-000413260263-1, 30) exited non-zero on 'Local/781-000413260263-1@DialLine-f942;2'
 == Spawn extension (DialLine, 781-0090330f2038-1, 30) exited non-zero on 'Local/781-0090330f2038-1@DialLine-130b;2'
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- Playing periodic announcement
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-periodic-announce.alaw' (language 'da')
   -- Stopped music on hold on SIP/4550607781-0000016e
   -- <SIP/4550607781-0000016e> Playing 'queue-youarenext.slin' (language 'da')
   -- Told SIP/4550607781-0000016e in test their queue position (which was 1)
   -- Started music on hold, class 'default', on SIP/4550607781-0000016e
   -- Stopped music on hold on SIP/4550607781-0000016e
   -- Playing periodic announcement
   -- <SIP/4550607781-0000016e> Playing 'queue-periodic-announce.alaw' (language 'da')
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-thereare.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'digits/2.slin' (language 'da')
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-callswaiting.slin' (language 'da')
   -- Hold time for test is 0 minute(s) 0 seconds
   -- Told SIP/822-00141ccdf353-1-00000171 in test their queue position (which was 2)
   -- Started music on hold, class 'default', on SIP/822-00141ccdf353-1-00000171
   -- Stopped music on hold on SIP/822-00141ccdf353-1-00000171
   -- Playing periodic announcement
   -- <SIP/822-00141ccdf353-1-00000171> Playing 'queue-periodic-announce.alaw' (language 'da')
   -- Started music on hold, class 'default', on SIP/4550607781-0000016e
   -- Executing [781-000413260263-1@DialLine:1] Dial("Local/781-000413260263-1@DialLine-bec7;2", "SIP/781-000413260263-1,,T") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Using UDPTL TOS bits 184
 == Using UDPTL CoS mark 5
   -- Executing [781-0090330f2038-1@DialLine:1] Dial("Local/781-0090330f2038-1@DialLine-a7aa;2", "SIP/781-0090330f2038-1,,T") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Using UDPTL TOS bits 184
 == Using UDPTL CoS mark 5
   -- Called 781-0090330f2038-1
   -- Called 781-000413260263-1
   -- Got SIP response 486 "Busy Here" back from 10.1.27.80
   -- SIP/781-0090330f2038-1-00000173 is busy
 == Everyone is busy/congested at this time (1:1/0/0)
   -- Executing [781-0090330f2038-1@DialLine:30] ExecIf("Local/781-0090330f2038-1@DialLine-a7aa;2", "1?Wait(1000)") in new stack
   -- Got SIP response 486 "Busy Here" back from 10.1.27.108
   -- SIP/781-000413260263-1-00000172 is busy
 == Everyone is busy/congested at this time (1:1/0/0)
   -- Executing [781-000413260263-1@DialLine:30] ExecIf("Local/781-000413260263-1@DialLine-bec7;2", "1?Wait(1000)") in new stack
Comments:By: Mark Petersen (roadkill) 2010-03-19 03:35:04

may be related to https://issues.asterisk.org/view.php?id=17055
as the both have problems with retry / timeout
and the fact that I made a double post :-(

By: Mark Michelson (mmichelson) 2010-05-26 13:17:33

This is intended behavior. The first caller is actively attempting to dial a member. During this period, we do not play announcements. Announcements are only played for callers who are waiting to be able to dial a queue member.

Changing this would constitute adding a new feature and will need to have a patch along with it.