| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | [general] | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Global settings for call queues | 
					
						
							| 
									
										
										
										
											2004-12-06 05:54:16 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Persistent Members | 
					
						
							|  |  |  | ;    Store each dynamic agent in each queue in the astdb so that | 
					
						
							|  |  |  | ;    when asterisk is restarted, each agent will be automatically | 
					
						
							| 
									
										
										
										
											2006-01-23 17:23:22 +00:00
										 |  |  | ;    read into their recorded queues. Default is 'yes'. | 
					
						
							| 
									
										
										
										
											2004-12-06 05:54:16 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | persistentmembers = yes | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; Note that a timeout to fail out of a queue may be passed as part of | 
					
						
							|  |  |  | ; an application call from extensions.conf: | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; Queue(queuename|[options]|[optionalurl]|[announceoverride]|[timeout]) | 
					
						
							|  |  |  | ; example: Queue(dave|t|||45) | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ;[markq] | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; A sample call queue | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-01-03 01:37:44 +00:00
										 |  |  | ; Musiconhold sets which music applies for this particular | 
					
						
							|  |  |  | ; call queue (configure classes in musiconhold.conf) | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-01-03 01:37:44 +00:00
										 |  |  | ;musiconhold = default | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; An announcement may be specified which is played for the member as | 
					
						
							|  |  |  | ; soon as they answer a call, typically to indicate to them which queue | 
					
						
							|  |  |  | ; this call should be answered as, so that agents or members who are | 
					
						
							|  |  |  | ; listening to more than one queue can differentiated how they should | 
					
						
							|  |  |  | ; engage the customer | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;announce = queue-markq | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2003-07-30 16:10:51 +00:00
										 |  |  | ; A strategy may be specified.  Valid strategies include: | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; ringall - ring all available channels until one answers (default) | 
					
						
							|  |  |  | ; roundrobin - take turns ringing each available interface  | 
					
						
							| 
									
										
										
										
											2003-08-02 21:10:06 +00:00
										 |  |  | ; leastrecent - ring interface which was least recently called by this queue | 
					
						
							|  |  |  | ; fewestcalls - ring the one with fewest completed calls from this queue | 
					
						
							| 
									
										
										
										
											2003-07-30 16:10:51 +00:00
										 |  |  | ; random - ring random interface | 
					
						
							| 
									
										
										
										
											2004-05-18 05:41:53 +00:00
										 |  |  | ; rrmemory - round robin with memory, remember where we left off last ring pass | 
					
						
							| 
									
										
										
										
											2003-07-30 16:10:51 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;strategy = ringall | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-01-03 01:42:37 +00:00
										 |  |  | ; Second settings for service level (default 0) | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; Used for service level statistics (calls answered within service level time | 
					
						
							|  |  |  | ; frame) | 
					
						
							| 
									
										
										
										
											2005-01-03 01:42:37 +00:00
										 |  |  | ;servicelevel = 60 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; A context may be specified, in which if the user types a SINGLE | 
					
						
							|  |  |  | ; digit extension while they are in the queue, they will be taken out | 
					
						
							|  |  |  | ; of the queue and sent to that extension in this context. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;context = qoutcon | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; How long do we let the phone ring before we consider this a timeout... | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;timeout = 15 | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; How long do we wait before trying all the members again? | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;retry = 5 | 
					
						
							| 
									
										
										
										
											2004-06-26 16:26:39 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-01-07 04:05:22 +00:00
										 |  |  | ; Weight of queue - when compared to other queues, higher weights get  | 
					
						
							|  |  |  | ; first shot at available channels when the same channel is included in  | 
					
						
							|  |  |  | ; more than one queue. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;weight=0 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-06-26 16:26:39 +00:00
										 |  |  | ; After a successful call, how long to wait before sending a potentially | 
					
						
							|  |  |  | ; free member another call (default is 0, or no delay) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;wrapuptime=15 | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-01-13 17:39:56 +00:00
										 |  |  | ; Autofill will follow queue strategy but push multiple calls through | 
					
						
							| 
									
										
										
										
											2006-03-31 13:51:37 +00:00
										 |  |  | ; at same time. WARNING: By setting this to yes, if you have a number | 
					
						
							|  |  |  | ; of calls waiting in queue, and only a single member becoming available | 
					
						
							|  |  |  | ; at a time, it is more than likely NOT going to be the caller that's | 
					
						
							|  |  |  | ; been waiting the longest that will get assigned to this newly available | 
					
						
							|  |  |  | ; queue member. | 
					
						
							| 
									
										
										
										
											2006-01-13 17:39:56 +00:00
										 |  |  | ;  | 
					
						
							|  |  |  | ;autofill=yes | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; Autopause will pause a queue member if the y fail to answer a call | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;autopause=yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; Maximum number of people waiting in the queue (0 for unlimited) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;maxlen = 0 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; How often to announce queue position and/or estimated holdtime to caller (0=off) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;announce-frequency = 90  | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-07-31 22:07:58 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; How often to make any periodic announcement (see periodic-announce) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ;periodic-announce-frequency=60 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; Should we include estimated hold time in position announcements? | 
					
						
							| 
									
										
										
										
											2004-09-26 02:31:13 +00:00
										 |  |  | ; Either yes, no, or only once. | 
					
						
							|  |  |  | ; Hold time will be announced as the estimated time,  | 
					
						
							|  |  |  | ; or "less than 2 minutes" when appropriate. | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;announce-holdtime = yes|no|once | 
					
						
							| 
									
										
										
										
											2004-06-28 20:17:20 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; What's the rounding time for the seconds? | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If this is non-zero, then we announce the seconds as well as the minutes | 
					
						
							|  |  |  | ; rounded to this value. | 
					
						
							| 
									
										
										
										
											2004-06-28 20:17:20 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; announce-round-seconds = 10 | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Use these sound files in making position/holdtime announcements.  The | 
					
						
							|  |  |  | ; defaults are as listed below -- change only if you need to. | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-05-10 13:16:09 +00:00
										 |  |  | ;queue-youarenext = queue-youarenext		;	("You are now first in line.") | 
					
						
							|  |  |  | ;queue-thereare	= queue-thereare		;	("There are") | 
					
						
							|  |  |  | ;queue-callswaiting = queue-callswaiting	;	("calls waiting.") | 
					
						
							|  |  |  | ;queue-holdtime = queue-holdtime		;	("The current est. holdtime is") | 
					
						
							|  |  |  | ;queue-minutes = queue-minutes			;	("minutes.") | 
					
						
							| 
									
										
										
										
											2004-06-28 20:17:20 +00:00
										 |  |  | ;queue-seconds = queue-seconds			;	("seconds.") | 
					
						
							| 
									
										
										
										
											2004-05-10 13:16:09 +00:00
										 |  |  | ;queue-thankyou = queue-thankyou		;	("Thank you for your patience.") | 
					
						
							| 
									
										
										
										
											2004-09-29 14:06:59 +00:00
										 |  |  | ;queue-lessthan = queue-less-than		;       ("less than") | 
					
						
							| 
									
										
										
										
											2004-10-03 16:46:06 +00:00
										 |  |  | ;queue-reporthold = queue-reporthold		;       ("Hold time") | 
					
						
							| 
									
										
										
										
											2005-07-31 22:07:58 +00:00
										 |  |  | ;periodic-announce = queue-periodic-announce    ;       ("All reps busy / wait for next") | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Calls may be recorded using Asterisk's monitor resource | 
					
						
							|  |  |  | ; This can be enabled from within the Queue application, starting recording | 
					
						
							|  |  |  | ; when the call is actually picked up; thus, only successful calls are | 
					
						
							|  |  |  | ; recorded, and you are not recording while people are listening to MOH. | 
					
						
							|  |  |  | ; To enable monitoring, simply specify "monitor-format";  it will be disabled | 
					
						
							|  |  |  | ; otherwise. | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; You can specify the monitor filename with by calling | 
					
						
							|  |  |  | ;    Set(MONITOR_FILENAME=foo) | 
					
						
							|  |  |  | ; Otherwise it will use MONITOR_FILENAME=${UNIQUEID} | 
					
						
							| 
									
										
										
										
											2004-05-19 02:29:15 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2004-03-13 06:00:41 +00:00
										 |  |  | ; monitor-format = gsm|wav|wav49 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If you wish to have the two files joined together when the call ends, set this | 
					
						
							|  |  |  | ; to yes. | 
					
						
							| 
									
										
										
										
											2004-05-19 02:29:15 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; monitor-join = yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; This setting controls whether callers can join a queue with no members. There | 
					
						
							|  |  |  | ; are three choices: | 
					
						
							| 
									
										
										
										
											2005-03-28 20:48:24 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; yes    - callers can join a queue with no members or only unavailable members | 
					
						
							|  |  |  | ; no     - callers cannot join a queue with no members | 
					
						
							|  |  |  | ; strict - callers cannot join a queue with no members or only unavailable | 
					
						
							|  |  |  | ;          members | 
					
						
							| 
									
										
										
										
											2004-07-24 03:37:50 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; joinempty = yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If you wish to remove callers from the queue when new callers cannot join, | 
					
						
							|  |  |  | ; set this setting to one of the same choices for 'joinempty' | 
					
						
							| 
									
										
										
										
											2004-09-28 03:32:21 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; leavewhenempty = yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-28 20:48:24 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-04-11 02:04:08 +00:00
										 |  |  | ; If this is set to yes, the following manager events will be generated: | 
					
						
							|  |  |  | ; AgentCalled, AgentDump, AgentConnect, AgentComplete | 
					
						
							|  |  |  | ; (may generate some extra manager events, but probably ones you want) | 
					
						
							| 
									
										
										
										
											2004-07-27 04:13:04 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; eventwhencalled = yes | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-04-11 02:04:08 +00:00
										 |  |  | ; If this is set to no, the following manager events will be generated: | 
					
						
							|  |  |  | ; QueueMemberStatus | 
					
						
							|  |  |  | ; (may generate a WHOLE LOT of extra manager events) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; eventmemberstatusoff = no | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If you wish to report the caller's hold time to the member before they are | 
					
						
							|  |  |  | ; connected to the caller, set this to yes. | 
					
						
							| 
									
										
										
										
											2004-10-03 16:46:06 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; reportholdtime = no | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2006-02-15 02:52:19 +00:00
										 |  |  | ; If you want the queue to avoid sending calls to members whose devices are | 
					
						
							|  |  |  | ; known to be 'in use' (via the channel driver supporting that device state) | 
					
						
							|  |  |  | ; uncomment this option. (Note: only the SIP channel driver currently is able | 
					
						
							|  |  |  | ; to report 'in use'.) | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; ringinuse = no | 
					
						
							| 
									
										
										
										
											2004-10-03 16:46:06 +00:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-10-04 22:51:59 +00:00
										 |  |  | ; If you wish to have a delay before the member is connected to the caller (or | 
					
						
							|  |  |  | ; before the member hears any announcement messages), set this to the number of | 
					
						
							|  |  |  | ; seconds to delay. | 
					
						
							| 
									
										
										
										
											2004-10-03 20:37:09 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; memberdelay = 0 | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2005-03-04 00:59:58 +00:00
										 |  |  | ; If timeoutrestart is set to yes, then the timeout for an agent to answer is | 
					
						
							|  |  |  | ; reset if a BUSY or CONGESTION is received.  This can be useful if agents | 
					
						
							|  |  |  | ; are able to cancel a call with reject or similar. | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | ; timeoutrestart = no | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; Each member of this call queue is listed on a separate line in | 
					
						
							| 
									
										
										
										
											2003-07-30 16:10:51 +00:00
										 |  |  | ; the form technology/dialstring.  "member" means a normal member of a | 
					
						
							|  |  |  | ; queue.  An optional penalty may be specified after a comma, such that | 
					
						
							|  |  |  | ; entries with higher penalties are considered last. | 
					
						
							| 
									
										
										
										
											2002-09-02 23:15:40 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ;member => Zap/1 | 
					
						
							|  |  |  | ;member => Zap/2 | 
					
						
							| 
									
										
										
										
											2002-11-22 17:05:14 +00:00
										 |  |  | ;member => Agent/1001 | 
					
						
							|  |  |  | ;member => Agent/1002 | 
					
						
							| 
									
										
										
										
											2003-07-01 16:16:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-03-04 00:54:22 +00:00
										 |  |  | ; | 
					
						
							|  |  |  | ; Note that using agent groups is probably not what you want.  Strategies do | 
					
						
							|  |  |  | ; not propagate down to the Agent system so if you want round robin, least | 
					
						
							|  |  |  | ; recent, etc, you should list all the agents in this file individually and not | 
					
						
							|  |  |  | ; use agent groups. | 
					
						
							|  |  |  | ; | 
					
						
							| 
									
										
										
										
											2003-07-01 16:16:28 +00:00
										 |  |  | ;member => Agent/@1		; Any agent in group 1 | 
					
						
							| 
									
										
										
										
											2003-07-30 16:10:51 +00:00
										 |  |  | ;member => Agent/:1,1		; Any agent in group 1, wait for first | 
					
						
							|  |  |  |                                 ; available, but consider with penalty | 
					
						
							|  |  |  | 
 |