[asterisk-bugs] [Asterisk 0015260]: [patch] periodic-announce-frequency suggestion

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 9 10:34:22 CST 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15260 
====================================================================== 
Reported By:                tonils
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   15260
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.26-rc1 
JIRA:                       SWP-278 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 198884 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-03 02:30 CDT
Last Modified:              2009-11-09 10:34 CST
====================================================================== 
Summary:                    [patch] periodic-announce-frequency suggestion
Description: 
periodic-announce-frequency is caluclated from the start of the
anouncement. So it is effectivly the delay between the start of the last
anouncement and the start of the next annoucement. For a small value (e.g.
20 seconds) and the  longish anouncement (e.g. 15 seconds), then there is a
very short pause between announcements.

If one extends the example to include multiple varying length
anouncements, you get situations where one anouncement runs into the other
as the anouncement length is sometimes greater than the
periodic-announce-frequency. One has to work out the length of the longest
anouncement and make sure that periodic-announce-frequency is a few seconds
longer than that. If the announcements are changed, the process needs to be
repeated.

It would be be more logical to have periodic-announce-frequency be the
delay between the end of the last anouncement and the begining of the next
anouncement. In this way setting periodic-announce-frequency to 15 would
give a constant 15 second delay between each of the announcements.
====================================================================== 

---------------------------------------------------------------------- 
 (0113428) svnbot (reporter) - 2009-11-09 10:34
 https://issues.asterisk.org/view.php?id=15260#c113428 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 228947

U   trunk/CHANGES
U   trunk/apps/app_queue.c
U   trunk/configs/queues.conf.sample

------------------------------------------------------------------------
r228947 | mnicholson | 2009-11-09 10:34:20 -0600 (Mon, 09 Nov 2009) | 5
lines

Add the 'relative-periodic-announce' option to app_queue to allow for
calculating the time of announcments from the end of the previous
announcment rather than from the beginning.

(closes issue https://issues.asterisk.org/view.php?id=15260)
Reported by: tonils

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=228947 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-09 10:34 svnbot         Note Added: 0113428                          
2009-11-09 10:34 svnbot         Status                   assigned => resolved
2009-11-09 10:34 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list