forked from thehunmonkgroup/jester
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.lua
More file actions
72 lines (63 loc) · 1.93 KB
/
conf.lua
File metadata and controls
72 lines (63 loc) · 1.93 KB
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
--[[
This is the global configuration file for Jester.
Probably not a good idea to change any of these settings unless you know
what you're doing.
]]
module(..., package.seeall)
-- Enable this setting to turn on debuggging.
-- This value can be overridden per profile.
debug = true
-- These settings control what debugging information is output.
debug_output = {
-- Ongoing progress.
log = true,
-- These are output right before Jester exits.
jester_object = false,
executed_sequences = true,
run_actions = false,
}
-- This file can be loaded from the shell, so only build these settings if we
-- have access to the API.
if freeswitch then
local api = freeswitch.API()
base_dir = api:executeString("global_getvar base_dir")
sounds_dir = api:executeString("global_getvar sounds_dir")
-- Override this if scripts are hosted in a non-standard location.
scripts_dir = base_dir .. "/scripts"
jester_dir = scripts_dir .. "/jester"
-- This value can be overridden per profile.
sequence_path = jester_dir .. "/sequences"
profile_path = jester_dir .. "/profiles"
end
help_path = "jester/help"
-- The order that keys are played in for announcements.
-- This value can be overridden per profile.
-- This value can be overridden in actions.
key_order = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "*", "#" }
-- The modules to load.
-- This value can be overridden per profile.
-- Note that the help system looks at this setting, not profile settings,
-- when it builds the module/action help. Therefore the recommended
-- configuration is to include all modules here, and override the setting
-- in each profile listing only the modules that need to be loaded for
-- the profile.
modules = {
"core_actions",
"couchdb",
"data",
"dialplan_tools",
"email",
"event",
"file",
"format",
"get_digits",
"hangup",
"log",
"navigation",
"play",
"record",
"service",
"speech_to_text",
"system",
"tracker",
}