From 36f2a0dc21c9175d5a9a51081b4cfac28421ca96 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 13 Aug 2013 07:31:28 +0200 Subject: yealink provisioning added --- app/views/config_yealink/show.text.haml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/views/config_yealink/show.text.haml 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' -- cgit v1.2.3