Merge pull request #278 from nmav/ocserv
[project/luci.git] / applications / luci-asterisk / luasrc / model / cbi / asterisk / meetme_settings.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14
15 cbimap = Map("asterisk", "MeetMe - Common Settings",
16         "Common settings for MeetMe phone conferences.")
17
18 meetme = cbimap:section(TypedSection, "meetmegeneral", "General MeetMe Options")
19 meetme.addremove = false
20 meetme.anonymous = true
21
22 audiobuffers = meetme:option(ListValue, "audiobuffers",
23         "Number of 20ms audio buffers to use for conferences")
24
25 for i = 2, 32 do audiobuffers:value(i) end
26
27
28 return cbimap