1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
3 -- Licensed to the public under the Apache License 2.0.
5 cbimap = Map("asterisk", "asterisk", "")
7 voicegeneral = cbimap:section(TypedSection, "voicegeneral", "Voicemail general options", "")
9 serveremail = voicegeneral:option(Value, "serveremail", "From Email address of server", "")
12 voicemail = cbimap:section(TypedSection, "voicemail", "Voice Mail boxes", "")
13 voicemail.addremove = true
15 attach = voicemail:option(Flag, "attach", "Email contains attachment", "")
18 email = voicemail:option(Value, "email", "Email", "")
21 name = voicemail:option(Value, "name", "Display Name", "")
24 password = voicemail:option(Value, "password", "Password", "")
25 password.rmempty = true
27 zone = voicemail:option(ListValue, "zone", "Voice Zone", "")
28 cbimap.uci:foreach( "asterisk", "voicezone", function(s) zone:value(s['.name']) end )
31 voicezone = cbimap:section(TypedSection, "voicezone", "Voice Zone settings", "")
32 voicezone.addremove = true
34 message = voicezone:option(Value, "message", "Message Format", "")
35 message.rmempty = true
37 zone = voicezone:option(Value, "zone", "Time Zone", "")