forked from OpenACD/OpenACD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgen-cpx.config.sample
92 lines (78 loc) · 3.49 KB
/
gen-cpx.config.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
% A sample config file.
% when invoking the erl shell, pass -config file-basename
% (for this file, -config gen-cpx
% for use with the devboot script, pass -f gen-cpx.
% to use this after doing rebar generate, copy this to
% "rel/openacd/etc/app.config"
% To use this file, remove .sample from the end.
% Change the nodes to those you plan to use, adding or
% removing as needed.
[{'OpenACD', [
% required
{nodes, [node1@host1, node2@host2]},
% the following should be here.
{console_loglevel, info},
{logfiles, [{"full.log", debug}, {"console.log", info}]},
% everything else is entirely optional.
% when OpenACD starts, these are compared to what is in the cpx_value
% mnesia table. This file wins. Anything not here can be configured
% via the web gui, which is stored in the mnesia table.
% The folder (relative to priv) to find static web content
{webdir_dynamic, "www/dynamic"},
% How long a call should ring to an agent before swapping agents
{default_ringout, 60},
% Where to find the RSA key; the public key is assumed to have the same
% name, but with .pub on the end. If it starts with a /, it's an absolute
% path. Otherwise it is releative to the run dir of openacd.
{rsakey, "key"},
% Where to find the certificate to use for ssl. If it starts with a /,
% it's an aboslute path. Otherwise it is relative to the run dir of
% openacd.
{certfile, "openacd.crt"},
% The rest of these default to undefined.
% Where to put media archives (like voice call recordings).
% The archive path uses ruby-style interpoation for variables. Anything
% of form #{variable_name} is replaced. A media appends the file
% extension to this path; this path should point to the actual file to
% create (not just a directory).
% available variables:
% year - The full 4 digit year
% month - 2 digit month
% day - 2 digit day
% callid - The full call id (_not_ caller id)
% calltype - email, voice, voicemail ...
% calldirection - inbound or outbound
{archivepath, "/#{year}/#{month}/#{day}/#{calltype}-#{callid}"},
% To get the 'bug' button to work in the agent interface, fill this
% in with the url path to a mantis installation.
{mantispath, "http://example.com/mantis"},
% Options to present to an agent attempting to transfer a call to queue.
{transferprompt, {
[{"hiddenName", "Visible Label", "regex|\d+"}],
['_queue', {'_profile', "Default"}, skill1]
}},
% Maximum number of times an agent can ringout in a row before
% a forced logout occurs. if undefined, an agent is never forced to
% logout.
{max_ringouts, 3},
% Tells OpenACD to start "plugin applications". A plugin application
% is an erlang app that runs on the same node asn OpenACD. They are
% responsible for supervising themselves, and should expect no help
% from OpenACD. They can assume OpenACD is running when they are
% launched.
%
% Place erlang applicactions and thier dependancies (if needed) in the
% plugins directory. OpenACD will add all the needed directories on
% demand. It will load the app file, start any dependancies using
% application:start/1, ending with starting the starting the plugin
% itself.
%
% If the plugin stops for any reason, there is no guarentee it's
% dependancies are stopped. OpenACD handles the case of already running
% dependancies gracefully.
{plugins, []},
% Tells OpenACD where to find plugin applications, as well as any
% additional applications that may be needed which are not included
% in the standard erlang distribution.
{plugin_dir, "plugins"}
]}].