Let's also include aclocal.m4
[asterisk-bristuff.git] / doc / queuelog.txt
blobfa8cb48e8557e282a6f129e33cf16192e7230126
1 Queue Log Information
2 =====================
4 In order to properly manage ACD queues, it is important to be able to
5 keep track of details of call setups and teardowns in much greater detail
6 than traditional call detail records provide.  In order to support this,
7 extensive and detailed tracing of every queued call is stored in the
8 queue log, located (by default) in /var/log/asterisk/queue_log.
10 These are the events (and associated information) in the queue log:
12 ABANDON(position|origposition|waittime)
13 The caller abandoned their position in the queue.  The position is the
14 caller's position in the queue when they hungup, the origposition is
15 the original position the caller was when they first entered the
16 queue, and the waittime is how long the call had been waiting in the 
17 queue at the time of disconnect.
19 AGENTDUMP
20 The agent dumped the caller while listening to the queue announcement.
22 AGENTLOGIN(channel)
23 The agent logged in.  The channel is recorded.
25 AGENTCALLBACKLOGIN(exten@context)
26 The callback agent logged in.  The login extension and context is recorded.
28 AGENTLOGOFF(channel|logintime)
29 The agent logged off.  The channel is recorded, along with the total time
30 the agent was logged in.
32 AGENTCALLBACKLOGOFF(exten@context|logintime|reason)
33 The callback agent logged off.  The last login extension and context is
34 recorded, along with the total time the agent was logged in, and the
35 reason for the logoff if it was not a normal logoff 
36 (e.g., Autologoff, Chanunavail)
38 COMPLETEAGENT(holdtime|calltime|origposition)
39 The caller was connected to an agent, and the call was terminated normally
40 by the *agent*.  The caller's hold time and the length of the call are both
41 recorded.  The caller's original position in the queue is recorded in
42 origposition.
44 COMPLETECALLER(holdtime|calltime|origposition)
45 The caller was connected to an agent, and the call was terminated normally
46 by the *caller*.  The caller's hold time and the length of the call are both
47 recorded.  The caller's original position in the queue is recorded in
48 origposition.
50 CONFIGRELOAD
51 The configuration has been reloaded (e.g. with asterisk -rx reload)
53 CONNECT(holdtime|bridgedchanneluniqueid)
54 The caller was connected to an agent.  Hold time represents the amount
55 of time the caller was on hold. The bridged channel unique ID contains
56 the unique ID of the queue member channel that is taking the call. This
57 is useful when trying to link recording filenames to a particular
58 call in the queue.
60 ENTERQUEUE(url|callerid)
61 A call has entered the queue.  URL (if specified) and Caller*ID are placed
62 in the log.
64 EXITEMPTY(position|origposition|waittime)
65 The caller was exited from the queue forcefully because the queue had no
66 reachable members and it's configured to do that to callers when there
67 are no reachable members. The position is the caller's position in the
68 queue when they hungup, the origposition is the original position the 
69 caller was when they first entered the queue, and the waittime is how 
70 long the call had been waiting in the queue at the time of disconnect.
72 EXITWITHKEY(key|position)
73 The caller elected to use a menu key to exit the queue.  The key and
74 the caller's position in the queue are recorded.
76 EXITWITHTIMEOUT(position)
77 The caller was on hold too long and the timeout expired.
79 QUEUESTART
80 The queueing system has been started for the first time this session.
82 RINGNOANSWER(ringtime)
83 After trying for ringtime ms to connect to the available queue member,
84 the attempt ended without the member picking up the call. Bad queue
85 member!
87 SYSCOMPAT
88 A call was answered by an agent, but the call was dropped because the 
89 channels were not compatible.
91 TRANSFER(extension|context|holdtime|calltime)
92 Caller was transferred to a different extension.  Context and extension
93 are recorded. The caller's hold time and the length of the call are both
94 recorded. PLEASE remember that transfers performed by SIP UA's by way
95 of a reinvite may not always be caught by Asterisk and trigger off this
96 event. The only way to be 100% sure that you will get this event when
97 a transfer is performed by a queue member is to use the built-in transfer
98 functionality of Asterisk.