yate/conf.d/queues.conf.sample

50 lines
1.7 KiB
Plaintext

[general]
; General settings of the queues module
; account: string: Name of the database account used in queries
;account=
; priority: int: Priority of message handlers
;priority=50
; rescan: int: Period of polling for available operators, in seconds
;rescan=5
[queries]
; SQL queries that get data about the queue and operators
; queue: string: Query to pick queue parameters, returns zero or one row
; Relevant substitutions:
; ${queue}: string: Name of the queue as obtained from routing
; Relevant returned params:
; length: int: Maximum queue length, will declare congestion if grows larger
; greeting: string: Resource to be played initially as greeting
; onhold: string: Resource to be played while waiting in queue
; maxcall: int: How much to call the operator, in milliseconds
; prompt: string: Resource to play to the operator when it answers
;queue=
; avail: string: Query to fetch operators to which calls can be distributed
; Relevant substitutions:
; ${queue}: string: Name of this queue
; ${required}: int: Number of operators required to handle incoming calls
; ${waiting}: int: Total number of calls waiting in this queue (assigned or not)
; Mandatory returned params:
; location: string: Resource where the operator is located
; username: string: User name of the operator
; Relevant returned params:
; maxcall: int: How much to call the operator, in milliseconds
; prompt: string: Resource to play to the operator when it answers
;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=