summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-13 16:01:13 +0200
committerPeter Kozak <spag@golwen.net>2013-08-13 16:01:13 +0200
commit8f6585aff2a46de2980af0a07c282661d5c167ab (patch)
treec21d2ea556d42fc11c8317e95cce9f84af086b69 /app
parentfed2bd7a18eee95b2a7ce1fc555e251a610baa96 (diff)
time and security settings
Diffstat (limited to 'app')
-rw-r--r--app/views/config_yealink/show.text.haml23
1 files changed, 23 insertions, 0 deletions
diff --git a/app/views/config_yealink/show.text.haml b/app/views/config_yealink/show.text.haml
index 65df0d8..cf69410 100644
--- a/app/views/config_yealink/show.text.haml
+++ b/app/views/config_yealink/show.text.haml
@@ -3,6 +3,29 @@
= 'lang.wui = English'
= 'call_waiting.enable = 1'
= 'voice.tone.country = Germany'
+= 'auto_provision.pnp_enable = 1'
+= 'auto_provision.mode = 1'
+= 'auto_provision.repeat.enable = 0'
+= 'auto_provision.repeat.minutes = 3600'
+= 'auto_provision.weekly.enalbe = 0'
+= 'auto_provision.weekly.mask = 0123456'
+= 'auto_provision.weekly.begin_time = 00:00'
+= 'auto_provision.weekly.end_time = 00:00'
+= 'auto_provision.server.url = ' + @provisioning_url
+= 'auto_provision.server.username = '
+= 'auto_provision.server.password = '
+= 'local_time.time_zone = ' + (Time.zone.utc_offset/3600).to_s
+= 'local_time.time_zone_name = ' + Time.zone.name
+= 'local_time.summer_time = 2'
+= 'local_time.dst_time_type = 1'
+= 'local_time.start_time = 3/4/7/2'
+= 'local_time.end_time = 10/4/7/3'
+= 'local_time.offset_time = 60'
+
+= 'local_time.ntp_server1 = '
+= 'local_time.ntp_server2 = '
+= 'security.user_password = admin:' + (@phone.http_password.blank? ? '0000' : @phone.http_password.to_s)
+
- @sip_accounts.each_with_index do |sip_account, index|
- i = index + 1