| 1 |
[general] |
| 2 |
; |
| 3 |
; Global settings for call queues |
| 4 |
; |
| 5 |
; Persistent Members |
| 6 |
; Store each dynamic member in each queue in the astdb so that |
| 7 |
; when asterisk is restarted, each member will be automatically |
| 8 |
; read into their recorded queues. Default is 'no'. |
| 9 |
; |
| 10 |
persistentmembers = yes |
| 11 |
; |
| 12 |
; AutoFill Behavior |
| 13 |
; The old behavior of the queue (autofill=no) is to have a serial type behavior |
| 14 |
; in that the queue will make all waiting callers wait in the queue |
| 15 |
; even if there is more than one available member ready to take |
| 16 |
; calls until the head caller is connected with the member they |
| 17 |
; were trying to get to. The next waiting caller in line then |
| 18 |
; becomes the head caller, and they are then connected with the |
| 19 |
; next available member and all available members and waiting callers |
| 20 |
; waits while this happens. The new behavior, enabled by setting |
| 21 |
; autofill=yes makes sure that when the waiting callers are connecting |
| 22 |
; with available members in a parallel fashion until there are |
| 23 |
; no more available members or no more waiting callers. This is |
| 24 |
; probably more along the lines of how a queue should work and |
| 25 |
; in most cases, you will want to enable this behavior. If you |
| 26 |
; do not specify or comment out this option, it will default to no. |
| 27 |
; |
| 28 |
;autofill = no |
| 29 |
; |
| 30 |
; Monitor Type |
| 31 |
; monitor-type = MixMonitor is the only currently supported option. |
| 32 |
; As MixMonitor mixes the audio by default, "joining/mixing" the in/out |
| 33 |
; files is not necissary. |
| 34 |
; |
| 35 |
monitor-type = MixMonitor |
| 36 |
; |
| 37 |
; shared_lastcall will make the lastcall and calls received be the same in |
| 38 |
; members logged in more than one queue. This is useful to make the queue |
| 39 |
; respect the wrapuptime of another queue for a shared member. |
| 40 |
; The default value is no. |
| 41 |
; |
| 42 |
;shared_lastcall=yes |
| 43 |
; |
| 44 |
; Negative_penalty_invalid will treat members with a negative penalty as logged off |
| 45 |
; |
| 46 |
;negative_penalty_invalid = no |
| 47 |
; |
| 48 |
; log_membername_as_agent will cause app_queue to log the membername rather than |
| 49 |
; the interface for the ADDMEMBER and REMOVEMEMBER events when a state_interface |
| 50 |
; is set. The default value (no) maintains backward compatibility. |
| 51 |
; |
| 52 |
;log_membername_as_agent = no |
| 53 |
; |
| 54 |
; log-caller-id-name controls whether the Caller ID Name will be written to the |
| 55 |
; queue log. If enabled, and Caller ID would otherwise be logged (see |
| 56 |
; 'log-restricted-caller-id'), adds a 4th column to the ENTERQUEUE record which |
| 57 |
; contains the Caller ID Name. Any '|' characters in the Caller ID Name will be |
| 58 |
; replaced by a '_'. This setting applies globally to all queues. |
| 59 |
; |
| 60 |
; Default is 'no', which means the Caller ID Name is not stored. |
| 61 |
;log-caller-id-name = no |
| 62 |
; |
| 63 |
; log-restricted-caller-id controls whether the Restricted Caller ID will be stored |
| 64 |
; in the queue log. |
| 65 |
; If log-restricted-caller-id=no then the Caller ID will be stripped if the Caller ID |
| 66 |
; is restricted. |
| 67 |
; Default is 'yes', which means the Caller ID is always stored. |
| 68 |
;log-restricted-caller-id = yes |
| 69 |
; |
| 70 |
; force_longest_waiting_caller will cause app_queue to make sure callers are offered |
| 71 |
; in order (longest waiting first), even for callers across multiple queues. |
| 72 |
; Before a call is offered to an agent, an additional check is made to see if the agent |
| 73 |
; is a member of another queue with a call that's been waiting longer. If so, the current |
| 74 |
; call is not offered to the agent. The default value is 'no'. |
| 75 |
; |
| 76 |
; Setting this to 'prio' performs the same check but also accounts for call priority. |
| 77 |
; |
| 78 |
;force_longest_waiting_caller = no |
| 79 |
; |
| 80 |
; Add unpause event to queue log in case of pause send twice with different reason code. |
| 81 |
; |
| 82 |
;log_unpause_on_reason_change = no |
| 83 |
; |
| 84 |
; |
| 85 |
;[markq] |
| 86 |
; |
| 87 |
; A sample call queue |
| 88 |
; |
| 89 |
; Musicclass sets which music applies for this particular call queue. |
| 90 |
; The only class which can override this one is if the MOH class is set |
| 91 |
; using the m option when calling the Queue application or if set |
| 92 |
; directly on the channel using Set(CHANNEL(musicclass)=whatever) in the |
| 93 |
; dialplan (the latter of which overrides everything). |
| 94 |
; |
| 95 |
;musicclass = default |
| 96 |
; |
| 97 |
; An announcement may be specified which is played for the member as |
| 98 |
; soon as they answer a call, typically to indicate to them which queue |
| 99 |
; this call should be answered as, so that agents or members who are |
| 100 |
; listening to more than one queue can differentiated how they should |
| 101 |
; engage the customer |
| 102 |
; |
| 103 |
;announce = queue-markq |
| 104 |
; |
| 105 |
; An announcement may be specified which is played to the caller just |
| 106 |
; before they are bridged with an agent. The default is to not play an |
| 107 |
; announcement to the caller. |
| 108 |
; |
| 109 |
;queue-callerannounce = you-are-being-connected |
| 110 |
; |
| 111 |
; A strategy may be specified. Valid strategies include: |
| 112 |
; |
| 113 |
; ringall - ring all available channels until one answers (default) |
| 114 |
; leastrecent - ring interface which was least recently hung up by this queue |
| 115 |
; fewestcalls - ring the one with fewest completed calls from this queue |
| 116 |
; random - ring random interface |
| 117 |
; rrmemory - round robin with memory, remember where we left off last ring pass |
| 118 |
; rrordered - same as rrmemory, except the queue member order from config file |
| 119 |
; is preserved |
| 120 |
; linear - rings interfaces in the order specified in this configuration file. |
| 121 |
; If you use dynamic members, the members will be rung in the order in |
| 122 |
; which they were added |
| 123 |
; wrandom - rings random interface, but uses the member's penalty as a weight |
| 124 |
; when calculating their metric. So a member with penalty 0 will have |
| 125 |
; a metric somewhere between 0 and 1000, and a member with penalty 1 will |
| 126 |
; have a metric between 0 and 2000, and a member with penalty 2 will have |
| 127 |
; a metric between 0 and 3000. Please note, if using this strategy, the member |
| 128 |
; penalty is not the same as when using other queue strategies. It is ONLY used |
| 129 |
; as a weight for calculating metric. |
| 130 |
; |
| 131 |
;strategy = ringall |
| 132 |
; |
| 133 |
; Second settings for service level (default 0) |
| 134 |
; Used for service level statistics (calls answered within service level time frame) |
| 135 |
; There are 2 Service Level Performance Calculations SL and SL2 |
| 136 |
; SL = (total calls answered within threshold / total calls answered) * 100 |
| 137 |
; SL2 = ((calls answered within threshold + calls abandoned within threshold) / (answered calls + abandoned calls)) * 100 |
| 138 |
;servicelevel = 60 |
| 139 |
; |
| 140 |
; If a 'context' is specified, and a caller enters an extension that |
| 141 |
; matches an extension within that context, they will be taken out of |
| 142 |
; the queue and sent to that extension. |
| 143 |
; |
| 144 |
;context = qoutcon |
| 145 |
; |
| 146 |
; A limit can be set to disregard penalty settings when the queue has |
| 147 |
; too few members. No penalty will be weighed in if there are only X |
| 148 |
; or fewer queue members. (default 0) |
| 149 |
; |
| 150 |
;penaltymemberslimit = 5 |
| 151 |
; |
| 152 |
; ---------------------QUEUE TIMING OPTIONS------------------------------------ |
| 153 |
; A Queue has two different "timeout" values associated with it. One is the |
| 154 |
; timeout parameter configured in queues.conf. This timeout specifies the |
| 155 |
; amount of time to try ringing a member's phone before considering the |
| 156 |
; member to be unavailable. The other timeout value is the second argument |
| 157 |
; to the Queue() application. This timeout represents the absolute amount |
| 158 |
; of time to allow a caller to stay in the queue before the caller is |
| 159 |
; removed from the queue. In certain situations, these two timeout values |
| 160 |
; may clash. For instance, if the timeout in queues.conf is set to 5 seconds, |
| 161 |
; the retry value in queues.conf is set to 4, and the second argument to Queue() |
| 162 |
; is 10, then the following may occur: |
| 163 |
; |
| 164 |
; A caller places a call to a queue. |
| 165 |
; The queue selects a member and attempts to ring that member. |
| 166 |
; The member's phone is rung for 5 seconds and he does not answer. |
| 167 |
; The retry time of 4 seconds occurs. |
| 168 |
; The queue selects a second member to call. |
| 169 |
; |
| 170 |
; How long does that second member's phone ring? Does it ring for 5 seconds |
| 171 |
; since the timeout set in app_queue is 5 seconds? Does it ring for 1 second since |
| 172 |
; the caller has been in the queue for 9 seconds and is supposed to be removed after |
| 173 |
; being in the queue for 10 seconds? This is configurable with the timeoutpriority |
| 174 |
; option. By setting the timeoutpriority to "conf" then you are saying that you would |
| 175 |
; rather use the time specified in the configuration file even if it means having the |
| 176 |
; caller stay in the queue longer than the time specified in the application argument. |
| 177 |
; For the scenario described above, timeoutpriority=conf would result in the second |
| 178 |
; member's phone ringing for 5 seconds. By specifying "app" as the value for |
| 179 |
; timeoutpriority, you are saying that the timeout specified as the argument to the |
| 180 |
; Queue application is more important. In the scenario above, timeoutpriority=app |
| 181 |
; would result in the second member's phone ringing for 1 second. |
| 182 |
; |
| 183 |
; There are a few exceptions to the priority rules. For instance, if timeoutpriority=app |
| 184 |
; and the configuration file timeout is set to 0, but the application argument timeout is |
| 185 |
; non-zero, then the timeoutpriority is ignored and the application argument is used as |
| 186 |
; the timeout. Furthermore, if no application argument timeout is specified, then the |
| 187 |
; timeoutpriority option is ignored and the configuration file timeout is always used |
| 188 |
; when calling queue members. |
| 189 |
; |
| 190 |
; In timeoutpriority=conf mode however timeout specified in config file will take higher |
| 191 |
; priority than timeout in application arguments, so if config file has timeout 0, each |
| 192 |
; queue member will be called indefinitely and application timeout will be checked only |
| 193 |
; after this call attempt. This is useful for having queue members with custom timeouts |
| 194 |
; specified within Dial application of Local channel, and allows handling NO ANSWER which |
| 195 |
; would otherwise be interrupted by queue destroying child channel on timeout. |
| 196 |
; |
| 197 |
; The default value for timeoutpriority is "app" since this was how previous versions of |
| 198 |
; Asterisk behaved. |
| 199 |
; |
| 200 |
;timeout = 15 |
| 201 |
;retry = 5 |
| 202 |
;timeoutpriority = app|conf |
| 203 |
; |
| 204 |
; ----------------------END QUEUE TIMING OPTIONS--------------------------------- |
| 205 |
; Weight of queue - when compared to other queues, higher weights get |
| 206 |
; first shot at available channels when the same channel is included in |
| 207 |
; more than one queue. |
| 208 |
; |
| 209 |
;weight=0 |
| 210 |
; |
| 211 |
; After a successful call, how long to wait before sending a potentially |
| 212 |
; free member another call (default is 0, or no delay) |
| 213 |
; |
| 214 |
;wrapuptime=15 |
| 215 |
; |
| 216 |
; Autofill will follow queue strategy but push multiple calls through |
| 217 |
; at same time until there are no more waiting callers or no more |
| 218 |
; available members. The per-queue setting of autofill allows you |
| 219 |
; to override the default setting on an individual queue level. |
| 220 |
; |
| 221 |
;autofill=yes |
| 222 |
; |
| 223 |
; Autopause will pause a queue member if they fail to answer a call |
| 224 |
; no: Member will not be paused |
| 225 |
; yes: Member will be paused only in the queue where the timeout took place |
| 226 |
; all: Member will be paused in all queues he/she is a member |
| 227 |
;autopause=yes |
| 228 |
; |
| 229 |
; Autopausedelay delay autopause for autopausedelay seconds from the |
| 230 |
; last call if a member has not taken a call the delay has no effect. |
| 231 |
;autopausedelay=60 |
| 232 |
; |
| 233 |
; Autopausebusy controls whether or not a queue member is set as paused |
| 234 |
; automatically upon the member device reporting busy. The autopausedelay |
| 235 |
; option applies. Defaults to 'no'. |
| 236 |
;autopausebusy=no |
| 237 |
; |
| 238 |
; Autopauseunavail controls whether or not a queue member is set as paused |
| 239 |
; automatically upon the member device reporting congestion. The autopausedely |
| 240 |
; option applies. Defaults to 'no'. |
| 241 |
;autopauseunavail=no |
| 242 |
; |
| 243 |
; Maximum number of people waiting in the queue (0 for unlimited) |
| 244 |
; |
| 245 |
;maxlen = 0 |
| 246 |
; |
| 247 |
; Note: for below queue channel options (setinterfacevar, setqueueentryvar, |
| 248 |
; setqueuevar) if the caller channel is a local channel and optimizations |
| 249 |
; is enabled then after optimization has occurred only the queue member |
| 250 |
; channel will contain the variables. |
| 251 |
; |
| 252 |
; If set to yes, just prior to the caller being bridged with a queue member |
| 253 |
; the following variables will be set on the caller and queue member channels: |
| 254 |
; MEMBERINTERFACE is the interface name (eg. Agent/1234) |
| 255 |
; MEMBERNAME is the member name (eg. Joe Soap) |
| 256 |
; MEMBERCALLS is the number of calls that interface has taken, |
| 257 |
; MEMBERLASTCALL is the last time the member took a call. |
| 258 |
; MEMBERPENALTY is the penalty of the member |
| 259 |
; MEMBERDYNAMIC indicates if a member is dynamic or not |
| 260 |
; MEMBERREALTIME indicates if a member is realtime or not |
| 261 |
; |
| 262 |
;setinterfacevar=no |
| 263 |
; |
| 264 |
; If set to yes, just prior to the caller being bridged with a queue member |
| 265 |
; the following variables will be set on the caller and queue member channels: |
| 266 |
; QEHOLDTIME callers hold time |
| 267 |
; QEORIGINALPOS original position of the caller in the queue |
| 268 |
; |
| 269 |
;setqueueentryvar=no |
| 270 |
; |
| 271 |
; If set to yes, the following variables will be set |
| 272 |
; just prior to the caller being bridged with a queue member (set on the |
| 273 |
; caller and queue member channels) and just prior to the caller |
| 274 |
; leaving the queue |
| 275 |
; QUEUENAME name of the queue |
| 276 |
; QUEUEMAX maxmimum number of calls allowed |
| 277 |
; QUEUESTRATEGY the strategy of the queue; |
| 278 |
; QUEUECALLS number of calls currently in the queue |
| 279 |
; QUEUEHOLDTIME current average hold time |
| 280 |
; QUEUECOMPLETED number of completed calls for the queue |
| 281 |
; QUEUEABANDONED number of abandoned calls |
| 282 |
; QUEUESRVLEVEL queue service level |
| 283 |
; QUEUESRVLEVELPERF current service level performance |
| 284 |
; |
| 285 |
;setqueuevar=no |
| 286 |
|
| 287 |
; if set, run this gosub when connected to the queue member |
| 288 |
; you can override this gosub by setting the gosub option on |
| 289 |
; the queue application |
| 290 |
; |
| 291 |
;membergosub=gosub_context_name[,arg1[,...][,argN]] |
| 292 |
|
| 293 |
; How often to announce queue position and/or estimated |
| 294 |
; holdtime to caller (0=off) |
| 295 |
; Note that this value is ignored if the caller's queue |
| 296 |
; position has changed (see min-announce-frequency) |
| 297 |
; |
| 298 |
;announce-frequency = 90 |
| 299 |
; |
| 300 |
; The absolute minimum time between the start of each |
| 301 |
; queue position and/or estimated holdtime announcement |
| 302 |
; This is useful for avoiding constant announcements |
| 303 |
; when the caller's queue position is changing frequently |
| 304 |
; (see announce-frequency) |
| 305 |
; |
| 306 |
;min-announce-frequency = 15 |
| 307 |
; |
| 308 |
; How often to make any periodic announcement (see periodic-announce) |
| 309 |
; |
| 310 |
;periodic-announce-frequency=60 |
| 311 |
; |
| 312 |
; If given indicates the number of seconds after entering the queue the first |
| 313 |
; periodic announcement should be played. The default (and historic) behavior |
| 314 |
; is to play the first periodic announcement at periodic-announce-frequency |
| 315 |
; seconds after entering the queue. |
| 316 |
; |
| 317 |
;periodic-announce-startdelay=10 |
| 318 |
; |
| 319 |
; Should the periodic announcements be played in a random order? Default is no. |
| 320 |
; |
| 321 |
;random-periodic-announce=no |
| 322 |
; |
| 323 |
; If set to yes, the periodic announcement frequency will be timed from the end |
| 324 |
; of each announcement rather than from the start of each announcement. This |
| 325 |
; defaults to off. |
| 326 |
; |
| 327 |
;relative-periodic-announce=yes |
| 328 |
; |
| 329 |
; Should we include estimated hold time in position announcements? |
| 330 |
; Either yes, no, or only once. |
| 331 |
; Hold time will be announced as the estimated time. |
| 332 |
; |
| 333 |
;announce-holdtime = yes|no|once |
| 334 |
; |
| 335 |
; Queue position announce? |
| 336 |
; Valid values are "yes," "no," "limit," or "more." If set to "no," then the caller's position will |
| 337 |
; never be announced. If "yes," then the caller's position in the queue will be announced |
| 338 |
; to the caller. If set to "more," then if the number of callers is more than the number |
| 339 |
; specified by the announce-position-limit option, then the caller will hear that there |
| 340 |
; are more than that many callers waiting (i.e. if a caller number 6 is in a queue with the |
| 341 |
; announce-position-limit set to 5, then that caller will hear that there are more than 5 |
| 342 |
; callers waiting). If set to "limit," then only callers within the limit specified by announce-position-limit |
| 343 |
; will have their position announced. |
| 344 |
; |
| 345 |
;announce-position = yes |
| 346 |
; |
| 347 |
; If enabled, play announcements to the first user waiting in the Queue. This may mean |
| 348 |
; that announcements are played when an agent attempts to connect to the waiting user, |
| 349 |
; which may delay the time before the agent and the user can communicate. Disabled by |
| 350 |
; default. |
| 351 |
; |
| 352 |
; announce-to-first-user = no |
| 353 |
; |
| 354 |
; If you have specified "limit" or "more" for the announce-position option, then the following |
| 355 |
; value is what is used to determine what announcement to play to waiting callers. If you have |
| 356 |
; set the announce-position option to anything else, then this will have no bearing on queue operation |
| 357 |
; |
| 358 |
;announce-position-limit = 5 |
| 359 |
; |
| 360 |
; What's the rounding time for the seconds? |
| 361 |
; If this is non-zero, then we announce the seconds as well as the minutes |
| 362 |
; rounded to this value. |
| 363 |
; Valid values are 0, 5, 10, 15, 20, and 30. |
| 364 |
; |
| 365 |
; announce-round-seconds = 10 |
| 366 |
; |
| 367 |
; Only announce the caller's position if it has improved since the last announcement. |
| 368 |
; The default value is no. |
| 369 |
; |
| 370 |
; announce-position-only-up = yes |
| 371 |
; |
| 372 |
; Use these sound files in making position/holdtime announcements. The |
| 373 |
; defaults are as listed below -- change only if you need to. |
| 374 |
; |
| 375 |
; Keep in mind that you may also prevent a sound from being played if you |
| 376 |
; explicitly set a sound to be an empty string. For example, if you want to |
| 377 |
; prevent the queue from playing queue-thankyou, you may set the sound using |
| 378 |
; the following line: |
| 379 |
; |
| 380 |
; queue-thankyou= |
| 381 |
; |
| 382 |
; ("You are now first in line.") |
| 383 |
;queue-youarenext = queue-youarenext |
| 384 |
; ("There are") |
| 385 |
;queue-thereare = queue-thereare |
| 386 |
; ("calls waiting.") |
| 387 |
;queue-callswaiting = queue-callswaiting |
| 388 |
; ("Currently there are more than") |
| 389 |
;queue-quantity1 = queue-quantity1 |
| 390 |
; ("callers waiting to speak with a representative") |
| 391 |
;queue-quantity2 = queue-quantity2 |
| 392 |
; ("The current est. holdtime is") |
| 393 |
;queue-holdtime = queue-holdtime |
| 394 |
; ("minute.") |
| 395 |
;queue-minute = queue-minute |
| 396 |
; ("minutes.") |
| 397 |
;queue-minutes = queue-minutes |
| 398 |
; ("seconds.") |
| 399 |
;queue-seconds = queue-seconds |
| 400 |
; ("Thank you for your patience.") |
| 401 |
;queue-thankyou = queue-thankyou |
| 402 |
; ("Hold time") |
| 403 |
;queue-reporthold = queue-reporthold |
| 404 |
; ("All reps busy / wait for next") |
| 405 |
;periodic-announce = queue-periodic-announce |
| 406 |
; |
| 407 |
; A set of periodic announcements can be defined by separating |
| 408 |
; periodic announcements to reproduce by commas. For example: |
| 409 |
;periodic-announce = queue-periodic-announce,your-call-is-important,please-wait |
| 410 |
; |
| 411 |
; The announcements will be played in the order in which they are defined. After |
| 412 |
; playing the last announcement, the announcements begin again from the beginning. |
| 413 |
; |
| 414 |
; Calls may be recorded using Asterisk's MixMonitor resource. |
| 415 |
; This can be enabled from within the Queue application, starting recording |
| 416 |
; when the call is actually picked up; thus, only successful calls are |
| 417 |
; recorded, and you are not recording while people are listening to MOH. |
| 418 |
; To enable monitoring, simply specify "monitor-format"; it will be disabled |
| 419 |
; otherwise. |
| 420 |
; |
| 421 |
; You can specify the monitor filename with by calling |
| 422 |
; Set(MONITOR_FILENAME=foo) |
| 423 |
; Otherwise it will use MONITOR_FILENAME=${UNIQUEID} |
| 424 |
; |
| 425 |
; Pick any one valid extension for monitor format recording. If you leave |
| 426 |
; monitor-format commented out, it will not record calls. |
| 427 |
; |
| 428 |
; monitor-format = gsm|wav|wav49 |
| 429 |
; |
| 430 |
; Monitor Type |
| 431 |
; monitor-type = MixMonitor is the only currently supported option. |
| 432 |
; As MixMonitor mixes the audio by default, "joining/mixing" the in/out |
| 433 |
; files is not necissary. |
| 434 |
; |
| 435 |
; monitor-type = MixMonitor |
| 436 |
; |
| 437 |
; ----------------------- TYPE MIXMONITOR OPTIONS ----------------------------- |
| 438 |
; |
| 439 |
; |
| 440 |
; You can specify the options supplied to MixMonitor by calling (from the dialplan) |
| 441 |
; Set(MONITOR_OPTIONS=av(<x>)V(<x>)W(<x>)) |
| 442 |
; The 'b' option for MixMonitor (only save audio to the file while bridged) is |
| 443 |
; implied. |
| 444 |
; |
| 445 |
; You can specify a post recording command to be executed after the end of |
| 446 |
; recording by calling (from the dialplan) |
| 447 |
; |
| 448 |
; Set(MONITOR_EXEC=mv /var/spool/asterisk/monitor/^{MIXMONITOR_FILENAME} /tmp/^{MIXMONITOR_FILENAME}) |
| 449 |
; |
| 450 |
; |
| 451 |
; |
| 452 |
; The command specified within the contents of MONITOR_EXEC will be executed when |
| 453 |
; the recording is over. Any strings matching ^{X} will be unescaped to ${X} and |
| 454 |
; all variables will be evaluated just prior to recording being started. |
| 455 |
; |
| 456 |
; The contents of MIXMONITOR_FILENAME will also be unescaped from ^{X} to ${X} and |
| 457 |
; all variables will be evaluated just prior to recording being started. |
| 458 |
; |
| 459 |
; ---------------------- Queue Empty Options ---------------------------------- |
| 460 |
; |
| 461 |
; Asterisk has provided the "joinempty" and "leavewhenempty" options for a while |
| 462 |
; with tenuous definitions of what they actually mean. The "joinempty" option controls |
| 463 |
; whether a caller may join a queue depending on several factors of member availability. |
| 464 |
; Similarly, then leavewhenempty option controls whether a caller may remain in a queue |
| 465 |
; he has already joined. Both options take a comma-separated list of factors which |
| 466 |
; contribute towards whether a caller may join/remain in the queue. The list of |
| 467 |
; factors which contribute to these option is as follows: |
| 468 |
; |
| 469 |
; paused: a member is not considered available if he is paused |
| 470 |
; penalty: a member is not considered available if his penalty is less than QUEUE_MAX_PENALTY |
| 471 |
; inuse: a member is not considered available if he is currently on a call |
| 472 |
; ringing: a member is not considered available if his phone is currently ringing |
| 473 |
; unavailable: This applies mainly to Agent channels. If the agent is a member of the queue |
| 474 |
; but has not logged in, then do not consider the member to be available |
| 475 |
; invalid: Do not consider a member to be available if he has an "invalid" device state. |
| 476 |
; This generally is caused by an error condition in the member's channel driver. |
| 477 |
; unknown: Do not consider a member to be available if we are unable to determine the member's |
| 478 |
; current device state. |
| 479 |
; wrapup: A member is not considered available if he is currently in his wrapuptime after |
| 480 |
; taking a call. |
| 481 |
; |
| 482 |
; For the "joinempty" option, when a caller attempts to enter a queue, the members of that |
| 483 |
; queue are examined. If all members are deemed to be unavailable due to any of the conditions |
| 484 |
; listed for the "joinempty" option, then the caller will be unable to enter the queue. For the |
| 485 |
; "leavewhenempty" option, the state of the members of the queue are checked periodically during |
| 486 |
; the caller's stay in the queue. If all of the members are unavailable due to any of the above |
| 487 |
; conditions, then the caller will be removed from the queue. |
| 488 |
; |
| 489 |
; Some examples: |
| 490 |
; |
| 491 |
;joinempty = paused,inuse,invalid |
| 492 |
; |
| 493 |
; A caller will not be able to enter a queue if at least one member cannot be found |
| 494 |
; who is not paused, on the phone, or who has an invalid device state. |
| 495 |
; |
| 496 |
;leavewhenempty = inuse,ringing |
| 497 |
; |
| 498 |
; A caller will be removed from the queue if at least one member cannot be found |
| 499 |
; who is not on the phone, or whose phone is not ringing. |
| 500 |
; |
| 501 |
; For the sake of backwards-compatibility, the joinempty and leavewhenempty |
| 502 |
; options also accept the strings "yes" "no" "strict" and "loose". The following |
| 503 |
; serves as a translation for these values: |
| 504 |
; |
| 505 |
; yes - (empty) for joinempty; penalty,paused,invalid for leavewhenempty |
| 506 |
; no - penalty,paused,invalid for joinempty; (empty) for leavewhenempty |
| 507 |
; strict - penalty,paused,invalid,unavailable |
| 508 |
; loose - penalty,invalid |
| 509 |
; |
| 510 |
|
| 511 |
; If you wish to report the caller's hold time to the member before they are |
| 512 |
; connected to the caller, set this to yes. |
| 513 |
; |
| 514 |
; reportholdtime = no |
| 515 |
; |
| 516 |
; If you want the queue to avoid sending calls to members whose devices are |
| 517 |
; known to be 'in use' (via the channel driver supporting that device state) |
| 518 |
; uncomment this option. This can be controlled on a per member basis by |
| 519 |
; setting 'ringinuse' on that member. This can be done in the member definition, |
| 520 |
; in the 'ringinuse' field on a realtime member, via the QUEUE_MEMBER dialplan |
| 521 |
; function, or with CLI/AMI. By default, the per member value will be the same |
| 522 |
; as the queue's ringinuse value if it isn't set on the member deliberately. |
| 523 |
; (Note: only the SIP channel driver currently is able to report 'in use'.) |
| 524 |
; ringinuse = no |
| 525 |
; |
| 526 |
; If you wish to have a delay before the member is connected to the caller (or |
| 527 |
; before the member hears any announcement messages), set this to the number of |
| 528 |
; seconds to delay. |
| 529 |
; |
| 530 |
; memberdelay = 0 |
| 531 |
; |
| 532 |
; If timeoutrestart is set to yes, then the timeout for an agent to answer is |
| 533 |
; reset if a BUSY or CONGESTION is received. This can be useful if agents |
| 534 |
; are able to cancel a call with reject or similar. |
| 535 |
; |
| 536 |
; timeoutrestart = no |
| 537 |
; |
| 538 |
; If you wish to implement a rule defined in queuerules.conf (see |
| 539 |
; configs/queuerules.conf.sample from the asterisk source directory for |
| 540 |
; more information about penalty rules) by default, you may specify this |
| 541 |
; by setting defaultrule to the rule's name |
| 542 |
; |
| 543 |
; defaultrule = myrule |
| 544 |
; |
| 545 |
; Each member of this call queue is listed on a separate line in |
| 546 |
; the form technology/dialstring. "member" means a normal member of a |
| 547 |
; queue. An optional penalty may be specified after a comma, such that |
| 548 |
; entries with higher penalties are considered last. An optional member |
| 549 |
; name may also be specified after a second comma, which is used in log |
| 550 |
; messages as a "friendly name". Multiple interfaces may share a single |
| 551 |
; member name. An optional state interface may be specified after a third |
| 552 |
; comma. This interface will be the one for which app_queue receives device |
| 553 |
; state notifications, even though the first interface specified is the one |
| 554 |
; that is actually called. |
| 555 |
; |
| 556 |
; A hint can also be used in place of the state interface using the format |
| 557 |
; hint:<extension>@<context>. If no context is specified then 'default' will |
| 558 |
; be used. |
| 559 |
; |
| 560 |
; It is important to ensure that channel drivers used for members are loaded |
| 561 |
; before app_queue.so itself or they may be marked invalid until reload. This |
| 562 |
; can be accomplished by explicitly listing them in modules.conf before |
| 563 |
; app_queue.so. Additionally, if you use Local channels as queue members, you |
| 564 |
; must also preload pbx_config.so and chan_local.so (or pbx_ael.so, pbx_lua.so, |
| 565 |
; or pbx_realtime.so, depending on how your dialplan is configured). |
| 566 |
; |
| 567 |
; syntax: member => interface,[,penalty][,membername][,state_interface][,ringinuse][,wrapuptime][,paused] |
| 568 |
; |
| 569 |
;member => DAHDI/1 |
| 570 |
;member => DAHDI/2,10 |
| 571 |
;member => DAHDI/3,10,Bob Johnson |
| 572 |
;member => Local/1001@agents,0,May Flowers,Agent:1001 |
| 573 |
;member => Local/1002@agents,0,John Doe,Agent:1002 |
| 574 |
;member => Local/1000@default,0,John Smith,PJSIP/1000 |
| 575 |
;member => Local/2000@default,0,Lorem Ipsum,PJSIP/2000,no |