text
stringlengths
0
152
30 seconds. You could split the audio file into 30-second segments, set their filenames
as starting with 00-, 01-, 02-, and so on (to keep them playing in order), and then
define the announcement. The musiconhold.conf class might look something like this:
[moh_jazz_queue]
mode=files
sort=alpha
announcement=queue-thankyou
directory=moh_jazz_queue
There are several options in the queues table that you can use to fine-tune what and
when announcements are played to your callers. The full list of queue options is
available
in the ~/src/asterisk-15.<TAB>/configs/samples/queues.conf.sample file.
Table 12-3 reviews a few of the more useful ones.
Table 12-3. Options related to prompt control timing within a queue
Option
announce-
frequency
min-
announce-
frequency
periodic-
announce-
frequency
random-
periodic-
announce
relative-
periodic-
announce
announce-
holdtime
Description
Available
values
Value in seconds Defines how often we should announce the caller’s position and/or estimated hold
Value in seconds
Value in seconds
time in the queue. Set this value to zero to disable.
Indicates the minimum amount of time that must pass before we announce the
caller’s position in the queue again. This is used when the caller’s position may
change frequently, to prevent the caller hearing multiple updates in a short period of
time.
Specifies how often to make periodic announcements to the caller.
yes, no
yes, no
yes, no, once
If set to yes, will play the defined periodic announcements in a random order. See
periodic-announce.
If set to yes, the periodic-announce-frequency timer will start when the
end of the file being played back is reached, instead of from the beginning. Defaults
to no.
Defines whether the estimated hold time should be played along with the periodic
announcements. Can be set to yes, no, or only once.
Advanced Queues
|
227
Description
Defines whether the caller’s position in the queue should be announced to them. If
set to no, the position will never be announced. If set to yes, the caller’s position
will always be announced. If the value is set to limit, the caller will hear their
position in the queue only if it is within the limit defined by announce-
position-limit. If the value is set to more, the caller will hear their position
only if it is beyond the number defined by announce-position-limit.
Used if you’ve defined announce-position as either limit or more.
Option
announce-
position
Available
values
yes, no,
limit, more