2008-01-30 16:02:21 +00:00
|
|
|
[general]
|
|
|
|
; General settings of the queues module
|
|
|
|
|
|
|
|
; account: string: Name of the database account used in queries
|
|
|
|
;account=
|
|
|
|
|
2008-11-03 15:02:54 +00:00
|
|
|
; priority: int: Default priority of message handlers, 0 to disable them
|
2009-08-18 14:55:25 +00:00
|
|
|
;priority=45
|
2008-01-30 16:02:21 +00:00
|
|
|
|
|
|
|
; rescan: int: Period of polling for available operators, in seconds
|
|
|
|
;rescan=5
|
|
|
|
|
2008-03-06 18:55:57 +00:00
|
|
|
; mintime: int: Minimum time between queries, in milliseconds
|
|
|
|
;mintime=500
|
|
|
|
|
2008-01-30 16:02:21 +00:00
|
|
|
|
2008-11-03 15:02:54 +00:00
|
|
|
[priorities]
|
|
|
|
; Handler priorities for each message, override priority from [general]
|
|
|
|
; Each handler can be disabled by setting priority 0
|
|
|
|
|
|
|
|
; call.execute: int: Priority of call.execute handler
|
|
|
|
;call.execute=
|
|
|
|
|
|
|
|
; call.answered: int: Priority of call.answered handler, do not set to 0
|
|
|
|
;call.answered=
|
|
|
|
|
|
|
|
; chan.hangup: int: Priority of chan.hangup handler, do not set to 0
|
|
|
|
;chan.hangup=
|
|
|
|
|
|
|
|
; call.drop: int: Priority of call.drop handler, 0 disables dropping queued calls
|
|
|
|
;call.drop=
|
|
|
|
|
|
|
|
|
2008-01-30 16:02:21 +00:00
|
|
|
[queries]
|
|
|
|
; SQL queries that get data about the queue and operators
|
|
|
|
|
|
|
|
; queue: string: Query to pick queue parameters, returns zero or one row
|
2008-01-30 16:55:11 +00:00
|
|
|
; Relevant substitutions:
|
|
|
|
; ${queue}: string: Name of the queue as obtained from routing
|
|
|
|
; Relevant returned params:
|
2008-03-06 18:55:57 +00:00
|
|
|
; mintime: int: Minimum time between queries, in milliseconds
|
2008-01-30 16:55:11 +00:00
|
|
|
; length: int: Maximum queue length, will declare congestion if grows larger
|
2008-06-05 09:53:32 +00:00
|
|
|
; maxout: int: Maximum number of simultaneous outgoing calls to operators
|
2008-01-30 16:55:11 +00:00
|
|
|
; greeting: string: Resource to be played initially as greeting
|
|
|
|
; onhold: string: Resource to be played while waiting in queue
|
2008-01-30 19:46:09 +00:00
|
|
|
; maxcall: int: How much to call the operator, in milliseconds
|
|
|
|
; prompt: string: Resource to play to the operator when it answers
|
2008-03-06 18:55:57 +00:00
|
|
|
; notify: string: Target ID for notification messages about queue activity
|
2008-06-04 17:11:49 +00:00
|
|
|
; detail: bool: Notify when details change, including call position in queue
|
2008-06-04 09:54:30 +00:00
|
|
|
; single: bool: Make just a single delivery attempt for each queued call
|
2008-01-30 16:02:21 +00:00
|
|
|
;queue=
|
|
|
|
|
|
|
|
; avail: string: Query to fetch operators to which calls can be distributed
|
2008-01-30 16:55:11 +00:00
|
|
|
; Relevant substitutions:
|
|
|
|
; ${queue}: string: Name of this queue
|
|
|
|
; ${required}: int: Number of operators required to handle incoming calls
|
2008-06-05 09:53:32 +00:00
|
|
|
; ${current}: int: Number of calls to operators currently running
|
2008-01-30 19:46:09 +00:00
|
|
|
; ${waiting}: int: Total number of calls waiting in this queue (assigned or not)
|
|
|
|
; Mandatory returned params:
|
|
|
|
; location: string: Resource where the operator is located
|
2008-01-30 16:55:11 +00:00
|
|
|
; username: string: User name of the operator
|
|
|
|
; Relevant returned params:
|
2008-01-30 19:46:09 +00:00
|
|
|
; maxcall: int: How much to call the operator, in milliseconds
|
2008-01-30 16:55:11 +00:00
|
|
|
; prompt: string: Resource to play to the operator when it answers
|
2008-01-30 16:02:21 +00:00
|
|
|
;avail=
|
|
|
|
|
|
|
|
|
|
|
|
[channels]
|
|
|
|
; Resources that will be used to handle incoming and outgoing calls
|
|
|
|
|
|
|
|
; incoming: string: Target that will handle incoming calls while queued
|
|
|
|
;incoming=
|
|
|
|
|
|
|
|
; outgoing: string: Target that will be called to make calls to operators
|
|
|
|
;outgoing=
|
2008-06-04 10:07:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
;[queue PUT_NAME_HERE]
|
|
|
|
; Queues can be defined from config file sections - one per queue
|
|
|
|
; This overrides the "queue" query but not the "avail" query
|
|
|
|
; See the "queue" description in the [queries] section for possible settings
|
|
|
|
|
|
|
|
; enabled: bool: Enable or disable this queue definition
|
|
|
|
;enabled=true
|