summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-23 02:25:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-23 02:25:26 +0000
commit71724c76cbfe80724d408ed9f20e1fde34b68288 (patch)
tree28b230b419fbdc0dd8250fd9fb22a162a46e3b18 /applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua
parent1a830a559bfc7ef2e8f8156d505f85724d7ffcca (diff)
* luci/app/asterisk: add initial cbi definitions, needs cleanup
Diffstat (limited to 'applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua')
-rw-r--r--applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua b/applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua
new file mode 100644
index 000000000..4025e8749
--- /dev/null
+++ b/applications/luci-asterisk/luasrc/model/cbi/asterisk-meetme.lua
@@ -0,0 +1,35 @@
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2008 Steven Barth <steven@midlink.org>
+Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+]]--
+
+cbimap = Map("asterisk", "asterisk", "")
+
+meetme = cbimap:section(TypedSection, "meetme", "Meetme Conference", "")
+
+adminpin = meetme:option(Value, "adminpin", "Admin PIN", "")
+adminpin.rmempty = true
+
+pin = meetme:option(Value, "pin", "Meeting PIN", "")
+pin.rmempty = true
+
+
+meetmegeneral = cbimap:section(TypedSection, "meetmegeneral", "Meetme Conference General Options", "")
+meetmegeneral.anonymous = true
+meetmegeneral.addremove = true
+
+audiobuffers = meetmegeneral:option(Value, "audiobuffers", "Number of 20ms audio buffers to be used", "")
+audiobuffers.rmempty = true
+
+
+return cbimap