* luci/app/asterisk: more work on cbi models
[project/luci.git] / applications / luci-asterisk / luasrc / model / cbi / asterisk-meetme.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
6
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
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 $Id$
14 ]]--
15
16 cbimap = Map("asterisk", "asterisk", "")
17
18 meetmegeneral = cbimap:section(TypedSection, "meetmegeneral", "Meetme Conference General Options", "")
19
20 audiobuffers = meetmegeneral:option(Value, "audiobuffers", "Number of 20ms audio buffers to be used", "")
21
22
23 meetme = cbimap:section(TypedSection, "meetme", "Meetme Conference", "")
24 meetme.addremove = true
25
26 adminpin = meetme:option(Value, "adminpin", "Admin PIN", "")
27 adminpin.password = true
28
29 pin = meetme:option(Value, "pin", "Meeting PIN", "")
30 pin.password = true
31
32
33 return cbimap