summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-08-13 07:31:28 +0200
committerPeter Kozak <spag@golwen.net>2013-08-13 07:31:28 +0200
commit36f2a0dc21c9175d5a9a51081b4cfac28421ca96 (patch)
tree2eee67794417d14e4f13ec733f0744928de56f2f
parent41edd4a459c8c3e23cf3531249cb5eed51032115 (diff)
yealink provisioning added
-rw-r--r--app/views/config_yealink/show.text.haml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/config_yealink/show.text.haml b/app/views/config_yealink/show.text.haml
new file mode 100644
index 0000000..65df0d8
--- /dev/null
+++ b/app/views/config_yealink/show.text.haml
@@ -0,0 +1,18 @@
+= '#!version:1.0.0.1'
+
+= 'lang.wui = English'
+= 'call_waiting.enable = 1'
+= 'voice.tone.country = Germany'
+
+- @sip_accounts.each_with_index do |sip_account, index|
+ - i = index + 1
+ - sip_account.each_pair do |key, value|
+ = "account.#{i}.#{key} = #{value}"
+
+- @handsets.each_with_index do |handset, index|
+ - i = index + 1
+ - handset.each_pair do |key, value|
+ = "handset.#{i}.#{key} = #{value}"
+
+= "remote_phonebook.data.1.url = #{@phonebook_url}"
+= 'remote_phonebook.data.1.name = Contacts'