yate/conf.d/queues.conf.sample
paulc bb516f132b Added minimum time between operator available queries.
Notification capability for queues and calls in them.
Calls can be individually picked from queue by channel ID.
Priority calls can be inserted in queue's head.
Queues can be created from config file.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1748 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-06 18:55:57 +00:00

55 lines
1.9 KiB
Text

[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
; mintime: int: Minimum time between queries, in milliseconds
;mintime=500
[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:
; mintime: int: Minimum time between queries, in milliseconds
; 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
; notify: string: Target ID for notification messages about queue activity
;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=