luci: broadcom - add n-mode support
[project/luci.git] / applications / luci-app-asterisk / luasrc / model / cbi / asterisk-mod-app.lua
1 cbimap = Map("asterisk", "asterisk", "")
2
3 module = cbimap:section(TypedSection, "module", "Modules", "")
4 module.anonymous = true
5
6 app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
7 app_alarmreceiver:value("yes", "Load")
8 app_alarmreceiver:value("no", "Do Not Load")
9 app_alarmreceiver:value("auto", "Load as Required")
10 app_alarmreceiver.rmempty = true
11
12 app_authenticate = module:option(ListValue, "app_authenticate", "Authentication Application", "")
13 app_authenticate:value("yes", "Load")
14 app_authenticate:value("no", "Do Not Load")
15 app_authenticate:value("auto", "Load as Required")
16 app_authenticate.rmempty = true
17
18 app_cdr = module:option(ListValue, "app_cdr", "Make sure asterisk doesnt save CDR", "")
19 app_cdr:value("yes", "Load")
20 app_cdr:value("no", "Do Not Load")
21 app_cdr:value("auto", "Load as Required")
22 app_cdr.rmempty = true
23
24 app_chanisavail = module:option(ListValue, "app_chanisavail", "Check if channel is available", "")
25 app_chanisavail:value("yes", "Load")
26 app_chanisavail:value("no", "Do Not Load")
27 app_chanisavail:value("auto", "Load as Required")
28 app_chanisavail.rmempty = true
29
30 app_chanspy = module:option(ListValue, "app_chanspy", "Listen in on any channel", "")
31 app_chanspy:value("yes", "Load")
32 app_chanspy:value("no", "Do Not Load")
33 app_chanspy:value("auto", "Load as Required")
34 app_chanspy.rmempty = true
35
36 app_controlplayback = module:option(ListValue, "app_controlplayback", "Control Playback Application", "")
37 app_controlplayback:value("yes", "Load")
38 app_controlplayback:value("no", "Do Not Load")
39 app_controlplayback:value("auto", "Load as Required")
40 app_controlplayback.rmempty = true
41
42 app_cut = module:option(ListValue, "app_cut", "Cuts up variables", "")
43 app_cut:value("yes", "Load")
44 app_cut:value("no", "Do Not Load")
45 app_cut:value("auto", "Load as Required")
46 app_cut.rmempty = true
47
48 app_db = module:option(ListValue, "app_db", "Database access functions", "")
49 app_db:value("yes", "Load")
50 app_db:value("no", "Do Not Load")
51 app_db:value("auto", "Load as Required")
52 app_db.rmempty = true
53
54 app_dial = module:option(ListValue, "app_dial", "Dialing Application", "")
55 app_dial:value("yes", "Load")
56 app_dial:value("no", "Do Not Load")
57 app_dial:value("auto", "Load as Required")
58 app_dial.rmempty = true
59
60 app_dictate = module:option(ListValue, "app_dictate", "Virtual Dictation Machine Application", "")
61 app_dictate:value("yes", "Load")
62 app_dictate:value("no", "Do Not Load")
63 app_dictate:value("auto", "Load as Required")
64 app_dictate.rmempty = true
65
66 app_directed_pickup = module:option(ListValue, "app_directed_pickup", "Directed Call Pickup Support", "")
67 app_directed_pickup:value("yes", "Load")
68 app_directed_pickup:value("no", "Do Not Load")
69 app_directed_pickup:value("auto", "Load as Required")
70 app_directed_pickup.rmempty = true
71
72 app_directory = module:option(ListValue, "app_directory", "Extension Directory", "")
73 app_directory:value("yes", "Load")
74 app_directory:value("no", "Do Not Load")
75 app_directory:value("auto", "Load as Required")
76 app_directory.rmempty = true
77
78 app_disa = module:option(ListValue, "app_disa", "DISA (Direct Inward System Access) Application", "")
79 app_disa:value("yes", "Load")
80 app_disa:value("no", "Do Not Load")
81 app_disa:value("auto", "Load as Required")
82 app_disa.rmempty = true
83
84 app_dumpchan = module:option(ListValue, "app_dumpchan", "Dump channel variables Application", "")
85 app_dumpchan:value("yes", "Load")
86 app_dumpchan:value("no", "Do Not Load")
87 app_dumpchan:value("auto", "Load as Required")
88 app_dumpchan.rmempty = true
89
90 app_echo = module:option(ListValue, "app_echo", "Simple Echo Application", "")
91 app_echo:value("yes", "Load")
92 app_echo:value("no", "Do Not Load")
93 app_echo:value("auto", "Load as Required")
94 app_echo.rmempty = true
95
96 app_enumlookup = module:option(ListValue, "app_enumlookup", "ENUM Lookup", "")
97 app_enumlookup:value("yes", "Load")
98 app_enumlookup:value("no", "Do Not Load")
99 app_enumlookup:value("auto", "Load as Required")
100 app_enumlookup.rmempty = true
101
102 app_eval = module:option(ListValue, "app_eval", "Reevaluates strings", "")
103 app_eval:value("yes", "Load")
104 app_eval:value("no", "Do Not Load")
105 app_eval:value("auto", "Load as Required")
106 app_eval.rmempty = true
107
108 app_exec = module:option(ListValue, "app_exec", "Executes applications", "")
109 app_exec:value("yes", "Load")
110 app_exec:value("no", "Do Not Load")
111 app_exec:value("auto", "Load as Required")
112 app_exec.rmempty = true
113
114 app_externalivr = module:option(ListValue, "app_externalivr", "External IVR application interface", "")
115 app_externalivr:value("yes", "Load")
116 app_externalivr:value("no", "Do Not Load")
117 app_externalivr:value("auto", "Load as Required")
118 app_externalivr.rmempty = true
119
120 app_forkcdr = module:option(ListValue, "app_forkcdr", "Fork The CDR into 2 seperate entities", "")
121 app_forkcdr:value("yes", "Load")
122 app_forkcdr:value("no", "Do Not Load")
123 app_forkcdr:value("auto", "Load as Required")
124 app_forkcdr.rmempty = true
125
126 app_getcpeid = module:option(ListValue, "app_getcpeid", "Get ADSI CPE ID", "")
127 app_getcpeid:value("yes", "Load")
128 app_getcpeid:value("no", "Do Not Load")
129 app_getcpeid:value("auto", "Load as Required")
130 app_getcpeid.rmempty = true
131
132 app_groupcount = module:option(ListValue, "app_groupcount", "Group Management Routines", "")
133 app_groupcount:value("yes", "Load")
134 app_groupcount:value("no", "Do Not Load")
135 app_groupcount:value("auto", "Load as Required")
136 app_groupcount.rmempty = true
137
138 app_ices = module:option(ListValue, "app_ices", "Encode and Stream via icecast and ices", "")
139 app_ices:value("yes", "Load")
140 app_ices:value("no", "Do Not Load")
141 app_ices:value("auto", "Load as Required")
142 app_ices.rmempty = true
143
144 app_image = module:option(ListValue, "app_image", "Image Transmission Application", "")
145 app_image:value("yes", "Load")
146 app_image:value("no", "Do Not Load")
147 app_image:value("auto", "Load as Required")
148 app_image.rmempty = true
149
150 app_lookupblacklist = module:option(ListValue, "app_lookupblacklist", "Look up Caller*ID name/number from black", "")
151 app_lookupblacklist:value("yes", "Load")
152 app_lookupblacklist:value("no", "Do Not Load")
153 app_lookupblacklist:value("auto", "Load as Required")
154 app_lookupblacklist.rmempty = true
155
156 app_lookupcidname = module:option(ListValue, "app_lookupcidname", "Look up CallerID Name from local databas", "")
157 app_lookupcidname:value("yes", "Load")
158 app_lookupcidname:value("no", "Do Not Load")
159 app_lookupcidname:value("auto", "Load as Required")
160 app_lookupcidname.rmempty = true
161
162 app_macro = module:option(ListValue, "app_macro", "Extension Macros", "")
163 app_macro:value("yes", "Load")
164 app_macro:value("no", "Do Not Load")
165 app_macro:value("auto", "Load as Required")
166 app_macro.rmempty = true
167
168 app_math = module:option(ListValue, "app_math", "A simple math Application", "")
169 app_math:value("yes", "Load")
170 app_math:value("no", "Do Not Load")
171 app_math:value("auto", "Load as Required")
172 app_math.rmempty = true
173
174 app_md5 = module:option(ListValue, "app_md5", "MD5 checksum Application", "")
175 app_md5:value("yes", "Load")
176 app_md5:value("no", "Do Not Load")
177 app_md5:value("auto", "Load as Required")
178 app_md5.rmempty = true
179
180 app_milliwatt = module:option(ListValue, "app_milliwatt", "Digital Milliwatt (mu-law) Test Application", "")
181 app_milliwatt:value("yes", "Load")
182 app_milliwatt:value("no", "Do Not Load")
183 app_milliwatt:value("auto", "Load as Required")
184 app_milliwatt.rmempty = true
185
186 app_mixmonitor = module:option(ListValue, "app_mixmonitor", "Record a call and mix the audio during the recording", "")
187 app_mixmonitor:value("yes", "Load")
188 app_mixmonitor:value("no", "Do Not Load")
189 app_mixmonitor:value("auto", "Load as Required")
190 app_mixmonitor.rmempty = true
191
192 app_parkandannounce = module:option(ListValue, "app_parkandannounce", "Call Parking and Announce Application", "")
193 app_parkandannounce:value("yes", "Load")
194 app_parkandannounce:value("no", "Do Not Load")
195 app_parkandannounce:value("auto", "Load as Required")
196 app_parkandannounce.rmempty = true
197
198 app_playback = module:option(ListValue, "app_playback", "Trivial Playback Application", "")
199 app_playback:value("yes", "Load")
200 app_playback:value("no", "Do Not Load")
201 app_playback:value("auto", "Load as Required")
202 app_playback.rmempty = true
203
204 app_privacy = module:option(ListValue, "app_privacy", "Require phone number to be entered", "")
205 app_privacy:value("yes", "Load")
206 app_privacy:value("no", "Do Not Load")
207 app_privacy:value("auto", "Load as Required")
208 app_privacy.rmempty = true
209
210 app_queue = module:option(ListValue, "app_queue", "True Call Queueing", "")
211 app_queue:value("yes", "Load")
212 app_queue:value("no", "Do Not Load")
213 app_queue:value("auto", "Load as Required")
214 app_queue.rmempty = true
215
216 app_random = module:option(ListValue, "app_random", "Random goto", "")
217 app_random:value("yes", "Load")
218 app_random:value("no", "Do Not Load")
219 app_random:value("auto", "Load as Required")
220 app_random.rmempty = true
221
222 app_read = module:option(ListValue, "app_read", "Read Variable Application", "")
223 app_read:value("yes", "Load")
224 app_read:value("no", "Do Not Load")
225 app_read:value("auto", "Load as Required")
226 app_read.rmempty = true
227
228 app_readfile = module:option(ListValue, "app_readfile", "Read in a file", "")
229 app_readfile:value("yes", "Load")
230 app_readfile:value("no", "Do Not Load")
231 app_readfile:value("auto", "Load as Required")
232 app_readfile.rmempty = true
233
234 app_realtime = module:option(ListValue, "app_realtime", "Realtime Data Lookup/Rewrite", "")
235 app_realtime:value("yes", "Load")
236 app_realtime:value("no", "Do Not Load")
237 app_realtime:value("auto", "Load as Required")
238 app_realtime.rmempty = true
239
240 app_record = module:option(ListValue, "app_record", "Trivial Record Application", "")
241 app_record:value("yes", "Load")
242 app_record:value("no", "Do Not Load")
243 app_record:value("auto", "Load as Required")
244 app_record.rmempty = true
245
246 app_sayunixtime = module:option(ListValue, "app_sayunixtime", "Say time", "")
247 app_sayunixtime:value("yes", "Load")
248 app_sayunixtime:value("no", "Do Not Load")
249 app_sayunixtime:value("auto", "Load as Required")
250 app_sayunixtime.rmempty = true
251
252 app_senddtmf = module:option(ListValue, "app_senddtmf", "Send DTMF digits Application", "")
253 app_senddtmf:value("yes", "Load")
254 app_senddtmf:value("no", "Do Not Load")
255 app_senddtmf:value("auto", "Load as Required")
256 app_senddtmf.rmempty = true
257
258 app_sendtext = module:option(ListValue, "app_sendtext", "Send Text Applications", "")
259 app_sendtext:value("yes", "Load")
260 app_sendtext:value("no", "Do Not Load")
261 app_sendtext:value("auto", "Load as Required")
262 app_sendtext.rmempty = true
263
264 app_setcallerid = module:option(ListValue, "app_setcallerid", "Set CallerID Application", "")
265 app_setcallerid:value("yes", "Load")
266 app_setcallerid:value("no", "Do Not Load")
267 app_setcallerid:value("auto", "Load as Required")
268 app_setcallerid.rmempty = true
269
270 app_setcdruserfield = module:option(ListValue, "app_setcdruserfield", "CDR user field apps", "")
271 app_setcdruserfield:value("yes", "Load")
272 app_setcdruserfield:value("no", "Do Not Load")
273 app_setcdruserfield:value("auto", "Load as Required")
274 app_setcdruserfield.rmempty = true
275
276 app_setcidname = module:option(ListValue, "app_setcidname", "load => .so ; Set CallerID Name", "")
277 app_setcidname:value("yes", "Load")
278 app_setcidname:value("no", "Do Not Load")
279 app_setcidname:value("auto", "Load as Required")
280 app_setcidname.rmempty = true
281
282 app_setcidnum = module:option(ListValue, "app_setcidnum", "load => .so ; Set CallerID Number", "")
283 app_setcidnum:value("yes", "Load")
284 app_setcidnum:value("no", "Do Not Load")
285 app_setcidnum:value("auto", "Load as Required")
286 app_setcidnum.rmempty = true
287
288 app_setrdnis = module:option(ListValue, "app_setrdnis", "Set RDNIS Number", "")
289 app_setrdnis:value("yes", "Load")
290 app_setrdnis:value("no", "Do Not Load")
291 app_setrdnis:value("auto", "Load as Required")
292 app_setrdnis.rmempty = true
293
294 app_settransfercapability = module:option(ListValue, "app_settransfercapability", "Set ISDN Transfer Capability", "")
295 app_settransfercapability:value("yes", "Load")
296 app_settransfercapability:value("no", "Do Not Load")
297 app_settransfercapability:value("auto", "Load as Required")
298 app_settransfercapability.rmempty = true
299
300 app_sms = module:option(ListValue, "app_sms", "SMS/PSTN handler", "")
301 app_sms:value("yes", "Load")
302 app_sms:value("no", "Do Not Load")
303 app_sms:value("auto", "Load as Required")
304 app_sms.rmempty = true
305
306 app_softhangup = module:option(ListValue, "app_softhangup", "Hangs up the requested channel", "")
307 app_softhangup:value("yes", "Load")
308 app_softhangup:value("no", "Do Not Load")
309 app_softhangup:value("auto", "Load as Required")
310 app_softhangup.rmempty = true
311
312 app_stack = module:option(ListValue, "app_stack", "Stack Routines", "")
313 app_stack:value("yes", "Load")
314 app_stack:value("no", "Do Not Load")
315 app_stack:value("auto", "Load as Required")
316 app_stack.rmempty = true
317
318 app_system = module:option(ListValue, "app_system", "Generic System() application", "")
319 app_system:value("yes", "Load")
320 app_system:value("no", "Do Not Load")
321 app_system:value("auto", "Load as Required")
322 app_system.rmempty = true
323
324 app_talkdetect = module:option(ListValue, "app_talkdetect", "Playback with Talk Detection", "")
325 app_talkdetect:value("yes", "Load")
326 app_talkdetect:value("no", "Do Not Load")
327 app_talkdetect:value("auto", "Load as Required")
328 app_talkdetect.rmempty = true
329
330 app_test = module:option(ListValue, "app_test", "Interface Test Application", "")
331 app_test:value("yes", "Load")
332 app_test:value("no", "Do Not Load")
333 app_test:value("auto", "Load as Required")
334 app_test.rmempty = true
335
336 app_transfer = module:option(ListValue, "app_transfer", "Transfer", "")
337 app_transfer:value("yes", "Load")
338 app_transfer:value("no", "Do Not Load")
339 app_transfer:value("auto", "Load as Required")
340 app_transfer.rmempty = true
341
342 app_txtcidname = module:option(ListValue, "app_txtcidname", "TXTCIDName", "")
343 app_txtcidname:value("yes", "Load")
344 app_txtcidname:value("no", "Do Not Load")
345 app_txtcidname:value("auto", "Load as Required")
346 app_txtcidname.rmempty = true
347
348 app_url = module:option(ListValue, "app_url", "Send URL Applications", "")
349 app_url:value("yes", "Load")
350 app_url:value("no", "Do Not Load")
351 app_url:value("auto", "Load as Required")
352 app_url.rmempty = true
353
354 app_userevent = module:option(ListValue, "app_userevent", "Custom User Event Application", "")
355 app_userevent:value("yes", "Load")
356 app_userevent:value("no", "Do Not Load")
357 app_userevent:value("auto", "Load as Required")
358 app_userevent.rmempty = true
359
360 app_verbose = module:option(ListValue, "app_verbose", "Send verbose output", "")
361 app_verbose:value("yes", "Load")
362 app_verbose:value("no", "Do Not Load")
363 app_verbose:value("auto", "Load as Required")
364 app_verbose.rmempty = true
365
366 app_voicemail = module:option(ListValue, "app_voicemail", "Voicemail", "")
367 app_voicemail:value("yes", "Load")
368 app_voicemail:value("no", "Do Not Load")
369 app_voicemail:value("auto", "Load as Required")
370 app_voicemail.rmempty = true
371
372 app_waitforring = module:option(ListValue, "app_waitforring", "Waits until first ring after time", "")
373 app_waitforring:value("yes", "Load")
374 app_waitforring:value("no", "Do Not Load")
375 app_waitforring:value("auto", "Load as Required")
376 app_waitforring.rmempty = true
377
378 app_waitforsilence = module:option(ListValue, "app_waitforsilence", "Wait For Silence Application", "")
379 app_waitforsilence:value("yes", "Load")
380 app_waitforsilence:value("no", "Do Not Load")
381 app_waitforsilence:value("auto", "Load as Required")
382 app_waitforsilence.rmempty = true
383
384 app_while = module:option(ListValue, "app_while", "While Loops and Conditional Execution", "")
385 app_while:value("yes", "Load")
386 app_while:value("no", "Do Not Load")
387 app_while:value("auto", "Load as Required")
388 app_while.rmempty = true
389
390
391 return cbimap