Add persistent dynamic queue member support (bug #2929)
[asterisk/asterisk.git] / configs / queues.conf.sample
1 [general]
2 ;
3 ; Global settings for call queues
4 ;
5 ; Persistent Members
6 ;    Store each dynamic agent in each queue in the astdb so that
7 ;    when asterisk is restarted, each agent will be automatically
8 ;    readded into their recorded queues. Default is 'yes'.
9 ;
10 persistentmembers = yes
11 ;
12 ; Note that a timeout to fail out of a queue may be passed as part of application call
13 ; from extensions.conf:
14 ; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout])
15 ; example: Queue(dave|t|||45)
16
17 [default]
18 ;
19 ; Default settings for queues (currently unused)
20 ;
21
22 ;[markq]
23 ;
24 ; A sample call queue
25 ;
26 ; Music sets which musiconhold applies for this particular
27 ; call queue
28 ;
29 ;music = default
30 ;
31 ; An announcement may be specified which is played for the member as
32 ; soon as they answer a call, typically to indicate to them which queue
33 ; this call should be answered as, so that agents or members who are
34 ; listening to more than one queue can differentiated how they should
35 ; engage the customer
36 ;
37 ;announce = queue-markq
38 ;
39 ; A strategy may be specified.  Valid strategies include:
40 ;
41 ; ringall - ring all available channels until one answers (default)
42 ; roundrobin - take turns ringing each available interface 
43 ; leastrecent - ring interface which was least recently called by this queue
44 ; fewestcalls - ring the one with fewest completed calls from this queue
45 ; random - ring random interface
46 ; rrmemory - round robin with memory, remember where we left off last ring pass
47 ;
48 ;strategy = ringall
49 ;
50 ; A context may be specified, in which if the user types a SINGLE
51 ; digit extension while they are in the queue, they will be taken out
52 ; of the queue and sent to that extension in this context.
53 ;
54 ;context = qoutcon
55 ;
56 ; How long do we let the phone ring before we consider this a timeout...
57 ;
58 ;timeout = 15
59 ;
60 ; How long do we wait before trying all the members again?
61 ;
62 ;retry = 5
63 ;
64 ; After a successful call, how long to wait before sending a potentially
65 ; free member another call (default is 0, or no delay)
66 ;
67 ;wrapuptime=15
68 ;
69 ; Maximum number of people waiting in the queue (0 for unlimited)
70 ;
71 ;maxlen = 0
72 ;
73 ;
74 ; How often to announce queue position and/or estimated holdtime to caller (0=off)
75 ;
76 ;announce-frequency = 90 
77 ;
78 ; Should we include estimated hold time in position announcements?
79 ; Either yes, no, or only once.
80 ; Hold time will be announced as the estimated time, 
81 ; or "less than 2 minutes" when appropriate.
82 ;
83 ;announce-holdtime = yes|no|once
84
85 ;
86 ; What's the rounding time for the seconds?
87 ; If this is non zero then we announce the seconds as well as the minutes rounded to this value
88 ;
89 ; announce-round-seconds = 10
90 ;
91 ; Use these sound files in making position/holdtime announcements.  The
92 ; defaults are as listed below -- change only if you need to.
93 ;
94 ;queue-youarenext = queue-youarenext            ;       ("You are now first in line.")
95 ;queue-thereare = queue-thereare                ;       ("There are")
96 ;queue-callswaiting = queue-callswaiting        ;       ("calls waiting.")
97 ;queue-holdtime = queue-holdtime                ;       ("The current est. holdtime is")
98 ;queue-minutes = queue-minutes                  ;       ("minutes.")
99 ;queue-seconds = queue-seconds                  ;       ("seconds.")
100 ;queue-thankyou = queue-thankyou                ;       ("Thank you for your patience.")
101 ;queue-lessthan = queue-less-than               ;       ("less than")
102 ;queue-reporthold = queue-reporthold            ;       ("Hold time")
103 ;
104 ; Calls may be recorded using Asterisk's monitor resource
105 ; This can be enabled from within the Queue application, starting recording
106 ; when the call is actually picked up; thus, only successful calls are
107 ; recorded, and you are not recording while people are listening to MOH.
108 ; To enable monitoring, simply specify "monitor-format";  it will be disabled
109 ; otherwise.
110 ;
111 ; You can specify the monitor filename with by calling SetVar(MONITOR_FILENAME=foo)
112 ; Otherwise it will use ${UNIQUEID}
113 ;
114 ; monitor-format = gsm|wav|wav49
115 ;
116 ; If you wish to have the two files joined together when the call ends set this to yes
117 ;
118 ; monitor-join = yes
119 ;
120 ; If you wish to allow queues that have no members currently to be joined, set this to yes
121 ;
122 ; joinempty = yes
123 ;
124 ; If you wish to remove callers from the queue if there are no agents present, set this to yes
125 ;
126 ; leavewhenempty = yes
127 ;
128 ; Asterisk can generate AgentCalled events when an agent is rung, if this is turned on
129 ; (may generate a LOT of extra manager events)
130 ;
131 ; eventwhencalled = yes
132 ;
133 ; If you wish to report the caller's hold time to the member before they are connected
134 ; to the caller, set this to yes.
135 ;
136 ; reportholdtime = no
137 ;
138 ;
139 ; If you wish to have a delay before the member is connected to the caller (or before the member
140 ; hears any announcement messages), set this to the number of seconds to delay.
141 ;
142 ; memberdelay = 0
143 ;
144 ; Each member of this call queue is listed on a separate line in
145 ; the form technology/dialstring.  "member" means a normal member of a
146 ; queue.  An optional penalty may be specified after a comma, such that
147 ; entries with higher penalties are considered last.
148 ;
149 ;member => Zap/1
150 ;member => Zap/2
151 ;member => Agent/1001
152 ;member => Agent/1002
153
154 ;member => Agent/@1             ; Any agent in group 1
155 ;member => Agent/:1,1           ; Any agent in group 1, wait for first
156                                 ; available, but consider with penalty
157