summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Arruda <joao.arruda@gmail.com>2016-06-28 10:25:33 -0300
committerTed Trask <ttrask01@yahoo.com>2016-06-29 00:48:26 +0000
commit8d84399705a808d4d22ad3df7f07a68ef3d7fb6c (patch)
treeb74b065be1dca8ecadc86d2b43870d30f71a8ea6
parent1341c5ae0c1f2256ecf0fcaef3d430f1e02ca93c (diff)
downloadacf-provisioning-8d84399705a808d4d22ad3df7f07a68ef3d7fb6c.tar.bz2
acf-provisioning-8d84399705a808d4d22ad3df7f07a68ef3d7fb6c.tar.xz
Adjust Cisco ATA template file
Some configuration need to be nested under <router-configuration> 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 <ttrask01@yahoo.com>
-rw-r--r--config/templates/ciscoata-template.lua9
1 files changed, 6 insertions, 3 deletions
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
%>
<flat-profile>
-
+<router-configuration>
<%
-- 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")
%>
<Time_Setup>
@@ -183,7 +182,11 @@ if tz then
end
%>
</Time_Setup>
-
+</router-configuration>
+<%
+-- 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 ?