Re: [asterisk-users] queue peridiodic-announce-frequency

2018-01-17 Thread Paul Neuwirth
On Wed, 17 Jan 2018 12:08:40 +0100
Antony Stone  wrote:

> On Wednesday 17 January 2018 at 11:59:21, Paul Neuwirth wrote:
> 
> > Hello group,
> > 
> > I tried a lot to enlarge the frequency (i.e. more announces, low
> > wait between). according to config, every 30 seconds the
> > announcement should take place. In fact, the first periodic
> > announce is done after 2 minutes?
> > What is my fault?  
> 
> Config snipped for clarity...
> 
> > [defaultq]
> > timeout = 10
> > retry = 99
> > wrapuptime=15
> > maxlen = 0
> > announce-frequency = 30
> > min-announce-frequency = 30
> > periodic-announce-frequency = 30
> > announce-holdtime = yes
> > announce-position = yes
> > announce-to-first-user = yes
> > periodic-announce = tt-allbusy,hold-or-dial-0
> > reportholdtime = yes  
> 
> I believe that both timeout and retry have to be less than the
> announce intervals.
> 
> In your case, retry is set to 99, with the announce intervals set at
> 30, therefore you would get announcements at 30, 60, 90, 120, 150...
> except that retry=99 stops any announcement before 99, therefore the
> first one you get is at 120 (2 minutes).
> 
> So, try setting retry to a value not less than 30 and see if that
> fixes things.
> 
> 
> 
> Antony.
> 

thank you. working fine now. I misinterpret the retry (thought counts).
Unfortunately the documentation (comments) lack dimensions almost at
all..

Regards

Paul

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] queue peridiodic-announce-frequency

2018-01-17 Thread Antony Stone
On Wednesday 17 January 2018 at 11:59:21, Paul Neuwirth wrote:

> Hello group,
> 
> I tried a lot to enlarge the frequency (i.e. more announces, low wait
> between). according to config, every 30 seconds the announcement should
> take place. In fact, the first periodic announce is done after 2
> minutes?
> What is my fault?

Config snipped for clarity...

> [defaultq]
> timeout = 10
> retry = 99
> wrapuptime=15
> maxlen = 0
> announce-frequency = 30
> min-announce-frequency = 30
> periodic-announce-frequency = 30
> announce-holdtime = yes
> announce-position = yes
> announce-to-first-user = yes
> periodic-announce = tt-allbusy,hold-or-dial-0
> reportholdtime = yes

I believe that both timeout and retry have to be less than the announce 
intervals.

In your case, retry is set to 99, with the announce intervals set at 30, 
therefore you would get announcements at 30, 60, 90, 120, 150... except that 
retry=99 stops any announcement before 99, therefore the first one you get is 
at 120 (2 minutes).

So, try setting retry to a value not less than 30 and see if that fixes things.



Antony.

-- 
"It would appear we have reached the limits of what it is possible to achieve 
with computer technology, although one should be careful with such statements; 
they tend to sound pretty silly in five years."

 - John von Neumann (1949)

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] queue peridiodic-announce-frequency

2018-01-17 Thread Paul Neuwirth
Hello group,

I tried a lot to enlarge the frequency (i.e. more announces, low wait
between). according to config, every 30 seconds the announcement should
take place. In fact, the first periodic announce is done after 2
minutes?
What is my fault?

Thank you

Regards 

Paul


# zypper if asterisk
Loading repository data...
Reading installed packages...


Information for package asterisk:
-
Repository : openSUSE_networkTelephony 
Name   : asterisk  
Version: 14.7.5-1.2
Arch   : x86_64
Vendor : obs://build.opensuse.org/network:telephony
Installed Size : 19.9 MiB  
Installed  : Yes   
Status : up-to-date
Source package : asterisk-14.7.5-1.2.src   
Summary: The Asterisk Open Source PBX


# grep -vE '^\s*;.*|^\s*$' queues.conf 
[general]
persistentmembers = yes
monitor-type = MixMonitor
[defaultq]
musicclass = default_noannounce
announce = tt-busy
strategy = ringall
context = qoutcon
timeout = 10 
retry = 99
wrapuptime=15
maxlen = 0
setinterfacevar=yes
setqueueentryvar=yes
setqueuevar=yes
announce-frequency = 30
min-announce-frequency = 30
periodic-announce-frequency = 30
announce-holdtime = yes
announce-position = yes
announce-to-first-user = yes 
periodic-announce = tt-allbusy,hold-or-dial-0
monitor-format = wav49 monitor-type = MixMonitor
reportholdtime = yes
ringinuse = yes 
member => SIP/XXW
member => SIP/XXX
member => SIP/XXY
member => SIP/XXZ
member => SIP/XXA

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users