| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | In order to properly manage ACD queues, it is important to be able to | 
					
						
							|  |  |  | keep track of details of call setups and teardowns in much greater detail | 
					
						
							|  |  |  | than traditional call detail records provide.  In order to support this, | 
					
						
							|  |  |  | extensive and detailed tracing of every queued call is stored in the | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | queue log, located (by default) in \path{/var/log/asterisk/queue_log}. | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | These are the events (and associated information) in the queue log: | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{ABANDON(position$|$origposition$|$waittime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The caller abandoned their position in the queue.  The position is the | 
					
						
							|  |  |  | caller's position in the queue when they hungup, the origposition is | 
					
						
							|  |  |  | the original position the caller was when they first entered the | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | queue, and the waittime is how long the call had been waiting in the | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | queue at the time of disconnect. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{AGENTDUMP} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The agent dumped the caller while listening to the queue announcement. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{AGENTLOGIN(channel)} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-14 04:54:39 +00:00
										 |  |  | The agent logged in.  The channel is recorded. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{AGENTCALLBACKLOGIN(exten@context)} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-03 17:33:35 +00:00
										 |  |  | The callback agent logged in.  The login extension and context is recorded. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{AGENTLOGOFF(channel$|$logintime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-14 04:54:39 +00:00
										 |  |  | The agent logged off.  The channel is recorded, along with the total time | 
					
						
							|  |  |  | the agent was logged in. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{AGENTCALLBACKLOGOFF(exten@context$|$logintime$|$reason)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-06-03 17:33:35 +00:00
										 |  |  | The callback agent logged off.  The last login extension and context is | 
					
						
							|  |  |  | recorded, along with the total time the agent was logged in, and the | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | reason for the logoff if it was not a normal logoff | 
					
						
							| 
									
										
										
										
											2006-01-13 18:23:30 +00:00
										 |  |  | (e.g., Autologoff, Chanunavail) | 
					
						
							| 
									
										
										
										
											2004-06-03 17:33:35 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{COMPLETEAGENT(holdtime$|$calltime$|$origposition)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The caller was connected to an agent, and the call was terminated normally | 
					
						
							|  |  |  | by the *agent*.  The caller's hold time and the length of the call are both | 
					
						
							|  |  |  | recorded.  The caller's original position in the queue is recorded in | 
					
						
							|  |  |  | origposition. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{COMPLETECALLER(holdtime$|$calltime$|$origposition)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The caller was connected to an agent, and the call was terminated normally | 
					
						
							|  |  |  | by the *caller*.  The caller's hold time and the length of the call are both | 
					
						
							|  |  |  | recorded.  The caller's original position in the queue is recorded in | 
					
						
							|  |  |  | origposition. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{CONFIGRELOAD} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The configuration has been reloaded (e.g. with asterisk -rx reload) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{CONNECT(holdtime$|$bridgedchanneluniqueid$|$ringtime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The caller was connected to an agent.  Hold time represents the amount | 
					
						
							| 
									
										
										
										
											2006-05-02 19:18:36 +00:00
										 |  |  | of time the caller was on hold. The bridged channel unique ID contains | 
					
						
							|  |  |  | the unique ID of the queue member channel that is taking the call. This | 
					
						
							|  |  |  | is useful when trying to link recording filenames to a particular | 
					
						
							| 
									
										
										
										
											2007-08-01 20:05:13 +00:00
										 |  |  | call in the queue. Ringtime represents the time the queue members phone | 
					
						
							|  |  |  | was ringing prior to being answered. | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{ENTERQUEUE(url$|$callerid)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | A call has entered the queue.  URL (if specified) and Caller*ID are placed | 
					
						
							|  |  |  | in the log. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{EXITEMPTY(position$|$origposition$|$waittime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-05-03 20:47:34 +00:00
										 |  |  | The caller was exited from the queue forcefully because the queue had no | 
					
						
							|  |  |  | reachable members and it's configured to do that to callers when there | 
					
						
							|  |  |  | are no reachable members. The position is the caller's position in the | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | queue when they hungup, the origposition is the original position the | 
					
						
							|  |  |  | caller was when they first entered the queue, and the waittime is how | 
					
						
							| 
									
										
										
										
											2006-05-03 20:47:34 +00:00
										 |  |  | long the call had been waiting in the queue at the time of disconnect. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{EXITWITHKEY(key$|$position$|$origposition$|$waittime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The caller elected to use a menu key to exit the queue.  The key and | 
					
						
							| 
									
										
										
										
											2007-04-30 16:46:49 +00:00
										 |  |  | the caller's position in the queue are recorded.  The caller's entry | 
					
						
							|  |  |  | position and amoutn of time waited is also recorded. | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | \textbf{EXITWITHTIMEOUT(position$|$origposition$|$waittime)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-04-30 16:46:49 +00:00
										 |  |  | The caller was on hold too long and the timeout expired.  The position in the | 
					
						
							|  |  |  | queue when the timeout occurred, the entry position, and the amount of time | 
					
						
							|  |  |  | waited are logged. | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{QUEUESTART} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | The queueing system has been started for the first time this session. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{RINGNOANSWER(ringtime)} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-05-03 20:14:54 +00:00
										 |  |  | After trying for ringtime ms to connect to the available queue member, | 
					
						
							|  |  |  | the attempt ended without the member picking up the call. Bad queue | 
					
						
							|  |  |  | member! | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | \textbf{SYSCOMPAT} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-15 13:12:51 +00:00
										 |  |  | A call was answered by an agent, but the call was dropped because the | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | channels were not compatible. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-31 16:37:08 +00:00
										 |  |  | \textbf{TRANSFER(extension$|$context$|$holdtime$|$calltime$|$origposition)} | 
					
						
							| 
									
										
										
										
											2007-07-24 18:19:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-02-12 22:11:02 +00:00
										 |  |  | Caller was transferred to a different extension.  Context and extension | 
					
						
							| 
									
										
										
										
											2006-05-03 20:31:58 +00:00
										 |  |  | are recorded. The caller's hold time and the length of the call are both | 
					
						
							| 
									
										
										
										
											2008-06-19 14:28:56 +00:00
										 |  |  | recorded, as is the caller's entry position at the time of the transfer. | 
					
						
							|  |  |  | PLEASE remember that transfers performed by SIP UA's by way of a reinvite | 
					
						
							|  |  |  | may not always be caught by Asterisk and trigger off this event. The only | 
					
						
							|  |  |  | way to be 100\% sure that you will get this event when a transfer is | 
					
						
							|  |  |  | performed by a queue member is to use the built-in transfer functionality | 
					
						
							|  |  |  | of Asterisk. |