summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-30 17:01:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-30 17:01:05 +0000
commit7385d0b070e2aa4a367b8864fcaad00e65fabb18 (patch)
treee1e1fb78caa797b71d3b166b752f731748783829 /applications/luci-asterisk/luasrc
parenta5216e09d5035814add842438882ae39e526c15e (diff)
applications/luci-asterisk: fix voicemail storage option, don't load tzdata in mailbox mgmnt.
Diffstat (limited to 'applications/luci-asterisk/luasrc')
-rw-r--r--applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua3
-rw-r--r--applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua3
2 files changed, 2 insertions, 4 deletions
diff --git a/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua b/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua
index efd6a2916..1c92d0dbf 100644
--- a/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua
+++ b/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail.lua
@@ -12,9 +12,6 @@ You may obtain a copy of the License at
$Id$
]]--
-require "luci.sys.zoneinfo"
-
-
cbimap = Map("asterisk", "Voicemail - Mailboxes")
voicemail = cbimap:section(TypedSection, "voicemail", "Voicemail Boxes")
diff --git a/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua b/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua
index 8ad3ee1e5..cad2adb95 100644
--- a/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua
+++ b/applications/luci-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua
@@ -25,7 +25,8 @@ voicegeneral = cbimap:section(TypedSection, "voicegeneral",
voicegeneral.anonymous = true
voicegeneral.addremove = false
-format = voicegeneral:option(ListValue, "Storage format")
+format = voicegeneral:option(MultiValue, "Used storage formats")
+format.widget = "checkbox"
format:value("wav49")
format:value("gsm")
format:value("wav")