Documented input and output parameters of the queries.

git-svn-id: http://voip.null.ro/svn/yate@1705 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-01-30 16:55:11 +00:00
parent 7247b7c8f0
commit e23f6426b4
1 changed files with 16 additions and 0 deletions

View File

@ -15,9 +15,25 @@
; 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
;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
; Relevant returned params:
; callto: string: Resource where the operator is located
; username: string: User name of the operator
; Relevant returned params:
; timeout: int: How much to call the operator, in seconds
; prompt: string: Resource to play to the operator when it answers
;avail=