diff options
author | Iordan Iordanov <iiordanov@gmail.com> | 2011-11-26 02:29:26 +0000 |
---|---|---|
committer | Iordan Iordanov <iiordanov@gmail.com> | 2011-11-26 02:29:26 +0000 |
commit | 60e46ff416448164fc8c65940b908d61c9e6e85d (patch) | |
tree | f17ebc098eeadf661f000fdd07b8a4c626ed272e /applications/luci-pbx-voicemail/luasrc | |
parent | c0a776877858ee5354b7acd73d84dccfda0a9513 (diff) |
1) Fixed wording in a few places.
2) Fixed a bug in voicemail section of pbx-asterisk init script which was causing
the script to exit if no configuration for voicemail was found.
Diffstat (limited to 'applications/luci-pbx-voicemail/luasrc')
-rw-r--r-- | applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua b/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua index b79d5250f..f68c27f77 100644 --- a/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua +++ b/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua @@ -53,13 +53,8 @@ enable:value("yes", translate("Yes")) enable:value("no", translate("No")) enable.default = "no" -timeout = s:option(Value, "global_timeout", - translate("Timeout before sending callers to voicemail")) -timeout:depends("enabled", "yes") -timeout.default = 30 - emails = s:option(DynamicList, "global_email_addresses", - translate("Email addresses to forward to")) + translate("Email addresses to forward voicemail to")) emails:depends("enabled", "yes") savepath = s:option(Value, "global_save_path", translate("Directory to save voicemail into"), @@ -93,14 +88,14 @@ s = m:section(NamedSection, "voicemail_smtp", "voicemail", translate("Outgoing m You can also set up a GMail, Yahoo, or other 3rd party SMTP server.")) s.anonymous = true -serv = s:option(Value, "smtp_server", translate("SMTP server hostname or IP")) +serv = s:option(Value, "smtp_server", translate("SMTP server hostname or IP address")) serv.datatype = "host" port = s:option(Value, "smtp_port", translate("SMTP port number")) port.datatype = "port" port.default = "25" -tls = s:option(ListValue, "smtp_tls", translate("Use TLS (secure connection)")) +tls = s:option(ListValue, "smtp_tls", translate("Secure connection using TLS")) tls:value("on", translate("Yes")) tls:value("off", translate("No")) tls.default = "on" |