Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (78 sloc) 3.572 kb
% 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, ""},
% 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"}
Jump to Line
Something went wrong with that request. Please try again.