From 8d84399705a808d4d22ad3df7f07a68ef3d7fb6c Mon Sep 17 00:00:00 2001 From: Joao Arruda Date: Tue, 28 Jun 2016 10:25:33 -0300 Subject: Adjust Cisco ATA template file Some configuration need to be nested under XML tag as described in the Cisco Provisioning Guide. It changes too the IVR_Admin_Password parameter to IVR_Admin_Passwd. Although the Cisco Provisioning Guide list the first as a valid parameter the device itself only list the second to be used (when getting the full configuration directly via http://IP_of_ATA/admin/config.xml). It seems to be an inconsistency between the documentation and the software. Signed-off-by: Ted Trask --- config/templates/ciscoata-template.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config/templates') diff --git a/config/templates/ciscoata-template.lua b/config/templates/ciscoata-template.lua index f91e840..dae131c 100644 --- a/config/templates/ciscoata-template.lua +++ b/config/templates/ciscoata-template.lua @@ -55,12 +55,11 @@ end %> - + <% -- Device parameters xml_elem("Web_Login_Admin_Password", values.device.adminpassword, "na") xml_elem("Web_Login_Guest_Password", values.device.adminpassword, "na") -xml_elem("IVR_Admin_Password", values.device.adminpassword, "na") %> @@ -183,7 +182,11 @@ if tz then end %> - + +<% +-- Password for the administrator to manage the ATA by using the built-in IVR through a connected phone. +xml_elem("IVR_Admin_Passwd", values.device.adminpassword, "na") +%> <% for pg, pg_t in pairs(values) do -- Is it of the form regX ? -- cgit v1.2.3