2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
5 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
16 cbimap = Map("asterisk", "asterisk", "")
18 module = cbimap:section(TypedSection, "module", "Modules", "")
19 module.anonymous = true
21 codec_a_mu = module:option(ListValue, "codec_a_mu", "A-law and Mulaw direct Coder/Decoder", "")
22 codec_a_mu:value("yes", "Load")
23 codec_a_mu:value("no", "Do Not Load")
24 codec_a_mu:value("auto", "Load as Required")
25 codec_a_mu.rmempty = true
27 codec_adpcm = module:option(ListValue, "codec_adpcm", "Adaptive Differential PCM Coder/Decoder", "")
28 codec_adpcm:value("yes", "Load")
29 codec_adpcm:value("no", "Do Not Load")
30 codec_adpcm:value("auto", "Load as Required")
31 codec_adpcm.rmempty = true
33 codec_alaw = module:option(ListValue, "codec_alaw", "A-law Coder/Decoder", "")
34 codec_alaw:value("yes", "Load")
35 codec_alaw:value("no", "Do Not Load")
36 codec_alaw:value("auto", "Load as Required")
37 codec_alaw.rmempty = true
39 codec_g726 = module:option(ListValue, "codec_g726", "ITU G.726-32kbps G726 Transcoder", "")
40 codec_g726:value("yes", "Load")
41 codec_g726:value("no", "Do Not Load")
42 codec_g726:value("auto", "Load as Required")
43 codec_g726.rmempty = true
45 codec_gsm = module:option(ListValue, "codec_gsm", "GSM/PCM16 (signed linear) Codec Translation", "")
46 codec_gsm:value("yes", "Load")
47 codec_gsm:value("no", "Do Not Load")
48 codec_gsm:value("auto", "Load as Required")
49 codec_gsm.rmempty = true
51 codec_speex = module:option(ListValue, "codec_speex", "Speex/PCM16 (signed linear) Codec Translator", "")
52 codec_speex:value("yes", "Load")
53 codec_speex:value("no", "Do Not Load")
54 codec_speex:value("auto", "Load as Required")
55 codec_speex.rmempty = true
57 codec_ulaw = module:option(ListValue, "codec_ulaw", "Mu-law Coder/Decoder", "")
58 codec_ulaw:value("yes", "Load")
59 codec_ulaw:value("no", "Do Not Load")
60 codec_ulaw:value("auto", "Load as Required")
61 codec_ulaw.rmempty = true