test
[diplomippbx.git] / 1 / queues.conf
blob5a917b38bad31461d6349d581e30f862832d2ff5
1 [general]
3 ; Global settings for call queues
5 ; Persistent Members
6 ;    Store each dynamic agent in each queue in the astdb so that
7 ;    when asterisk is restarted, each agent will be automatically
8 ;    readded into their recorded queues. Default is 'yes'.
10 persistentmembers = yes
12 ; Note that a timeout to fail out of a queue may be passed as part of
13 ; an application call from extensions.conf:
14 ; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
15 ; example: Queue(dave|t|||45)
17 ;[markq]
19 ; A sample call queue
21 ; Musiconhold sets which music applies for this particular
22 ; call queue (configure classes in musiconhold.conf)
24 ;musiconhold = default
26 ; An announcement may be specified which is played for the member as
27 ; soon as they answer a call, typically to indicate to them which queue
28 ; this call should be answered as, so that agents or members who are
29 ; listening to more than one queue can differentiated how they should
30 ; engage the customer
32 ;announce = queue-markq
34 ; A strategy may be specified.  Valid strategies include:
36 ; ringall - ring all available channels until one answers (default)
37 ; roundrobin - take turns ringing each available interface 
38 ; leastrecent - ring interface which was least recently called by this queue
39 ; fewestcalls - ring the one with fewest completed calls from this queue
40 ; random - ring random interface
41 ; rrmemory - round robin with memory, remember where we left off last ring pass
43 ;strategy = ringall
45 ; Second settings for service level (default 0)
46 ; Used for service level statistics (calls answered within service level time
47 ; frame)
48 ;servicelevel = 60
50 ; A context may be specified, in which if the user types a SINGLE
51 ; digit extension while they are in the queue, they will be taken out
52 ; of the queue and sent to that extension in this context.
54 ;context = qoutcon
56 ; How long do we let the phone ring before we consider this a timeout...
58 ;timeout = 15
60 ; How long do we wait before trying all the members again?
62 ;retry = 5
64 ; Weight of queue - when compared to other queues, higher weights get 
65 ; first shot at available channels when the same channel is included in 
66 ; more than one queue.
68 ;weight=0
70 ; After a successful call, how long to wait before sending a potentially
71 ; free member another call (default is 0, or no delay)
73 ;wrapuptime=60
75 ; Maximum number of people waiting in the queue (0 for unlimited)
77 ;maxlen = 0
80 ; How often to announce queue position and/or estimated holdtime to caller (0=off)
82 ;announce-frequency = 90 
85 ; How often to make any periodic announcement (see periodic-announce)
87 ;periodic-announce-frequency=60
89 ; Should we include estimated hold time in position announcements?
90 ; Either yes, no, or only once.
91 ; Hold time will be announced as the estimated time, 
92 ; or "less than 2 minutes" when appropriate.
94 ;announce-holdtime = yes|no|once
97 ; What's the rounding time for the seconds?
98 ; If this is non-zero, then we announce the seconds as well as the minutes
99 ; rounded to this value.
101 ; announce-round-seconds = 10
103 ; Use these sound files in making position/holdtime announcements.  The
104 ; defaults are as listed below -- change only if you need to.
106 ;queue-youarenext = queue-youarenext            ;       ("You are now first in line.")
107 ;queue-thereare = queue-thereare                ;       ("There are")
108 ;queue-callswaiting = queue-callswaiting        ;       ("calls waiting.")
109 ;queue-holdtime = queue-holdtime                ;       ("The current est. holdtime is")
110 ;queue-minutes = queue-minutes                  ;       ("minutes.")
111 ;queue-seconds = queue-seconds                  ;       ("seconds.")
112 ;queue-thankyou = queue-thankyou                ;       ("Thank you for your patience.")
113 ;queue-lessthan = queue-less-than               ;       ("less than")
114 ;queue-reporthold = queue-reporthold            ;       ("Hold time")
115 ;periodic-announce = queue-periodic-announce    ;       ("All reps busy / wait for next")
117 ; Calls may be recorded using Asterisk's monitor resource
118 ; This can be enabled from within the Queue application, starting recording
119 ; when the call is actually picked up; thus, only successful calls are
120 ; recorded, and you are not recording while people are listening to MOH.
121 ; To enable monitoring, simply specify "monitor-format";  it will be disabled
122 ; otherwise.
124 ; You can specify the monitor filename with by calling
125 ;    Set(MONITOR_FILENAME=foo)
126 ; Otherwise it will use MONITOR_FILENAME=${UNIQUEID}
128 ; monitor-format = gsm|wav|wav49
130 ; If you wish to have the two files joined together when the call ends, set this
131 ; to yes.
133 ; monitor-join = yes
135 ; This setting controls whether callers can join a queue with no members. There
136 ; are three choices:
138 ; yes    - callers can join a queue with no members or only unavailable members
139 ; no     - callers cannot join a queue with no members
140 ; strict - callers cannot join a queue with no members or only unavailable
141 ;          members
143 ; joinempty = yes
145 ; If you wish to remove callers from the queue when new callers cannot join,
146 ; set this setting to one of the same choices for 'joinempty'
148 ; leavewhenempty = yes
151 ; If this is set to yes, the following manager events will be generated:
152 ; AgentCalled, AgentDump, AgentConnect, AgentComplete
153 ; (may generate some extra manager events, but probably ones you want)
155 ; eventwhencalled = yes
157 ; If this is set to no, the following manager events will be generated:
158 ; QueueMemberStatus
159 ; (may generate a WHOLE LOT of extra manager events)
161 ; eventmemberstatusoff = no
163 ; If you wish to report the caller's hold time to the member before they are
164 ; connected to the caller, set this to yes.
166 ; reportholdtime = no
169 ; If you wish to have a delay before the member is connected to the caller (or
170 ; before the member hears any announcement messages), set this to the number of
171 ; seconds to delay.
173 ; memberdelay = 0
175 ; If timeoutrestart is set to yes, then the timeout for an agent to answer is
176 ; reset if a BUSY or CONGESTION is received.  This can be useful if agents
177 ; are able to cancel a call with reject or similar.
179 ; timeoutrestart = no
181 ; Each member of this call queue is listed on a separate line in
182 ; the form technology/dialstring.  "member" means a normal member of a
183 ; queue.  An optional penalty may be specified after a comma, such that
184 ; entries with higher penalties are considered last.
186 ;member => Zap/1
187 ;member => Zap/2
188 ;member => Agent/1001
189 ;member => Agent/1002
192 ; Note that using agent groups is probably not what you want.  Strategies do
193 ; not propagate down to the Agent system so if you want round robin, least
194 ; recent, etc, you should list all the agents in this file individually and not
195 ; use agent groups.
197 ;member => Agent/@1             ; Any agent in group 1
198 ;member => Agent/:1,1           ; Any agent in group 1, wait for first
199                                 ; available, but consider with penalty
201 [at-q1]
202 strategy = leastrecent
203 announce-frequency = 60 ; Number in Queue and estimated holdtime to caller
204 ;announce-frequency = 0
205 periodic-announce-frequency = 60
206 announce-holdtime = yes
207 reportholdtime = yes
208 ;timeoutrestart = yes
209 joinempty = yes
210 wrapuptime=15
211 member => Agent/10
212 member => Agent/11
213 member => Agent/12
214 member => Agent/13
215 member => Agent/14
216 member => Agent/15
217 member => Agent/16
218 member => Agent/17
219 member => Agent/18
220 member => Agent/19
221 member => Agent/40
222 member => Agent/41
223 member => Agent/44
225 [at-otp]
226 strategy = leastrecent
227 announce-frequency = 60
228 periodic-announce-frequency = 60
229 announce-holdtime = yes
230 reportholdtime = yes
231 ;timeoutrestart = yes
232 wrapuptime = 15
233 joinempty = strict
234 ;joinempty = yes
235 maxlen = 1
236 member => Agent/20
237 member => Agent/21
238 member => Agent/22
239 member => Agent/23
240 member => Agent/24
241 member => Agent/25
242 member => Agent/26
243 member => Agent/27
244 member => Agent/28
245 member => Agent/29
246 member => Agent/43
248 [ooa1]
249 strategy = leastrecent
250 announce-frequency = 60
251 periodic-announce-frequency = 60
252 announce-holdtime = yes
253 reportholdtime = yes
254 ;timeoutrestart = yes
255 wrapuptime = 15
256 joinempty = strict
257 member => Agent/30
259 [ooa2]
260 strategy = leastrecent
261 announce-frequency = 60
262 periodic-announce-frequency = 60
263 announce-holdtime = yes
264 reportholdtime = yes
265 ;timeoutrestart = yes
266 wrapuptime = 15
267 joinempty = strict
268 member => Agent/31
269 member => Agent/42
271 [ooa3]
272 strategy = leastrecent
273 announce-frequency = 60
274 periodic-announce-frequency = 60
275 announce-holdtime = yes
276 reportholdtime = yes
277 ;timeoutrestart = yes
278 wrapuptime = 15
279 joinempty = strict
280 member => Agent/32
282 [ooa4]
283 strategy = leastrecent
284 announce-frequency = 60
285 periodic-announce-frequency = 60
286 announce-holdtime = yes
287 reportholdtime = yes
288 ;timeoutrestart = yes
289 wrapuptime = 15
290 joinempty = strict
291 member => Agent/33
294 [test]
295 strategy = leastrecent
296 announce-frequency = 60
297 periodic-announce-frequency = 60
298 announce-holdtime = yes
299 reportholdtime = yes
300 ;timeoutrestart = yes
301 wrapuptime = 15
302 joinempty = strict
303 member => Agent/39