summaryrefslogtreecommitdiffstats
path: root/config
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:52:50 +0000
commit659f402452d1d97a13cb39f951bdd5f35d81ea36 (patch)
tree177c3fa91f4b84c1a074b94de0912508d46654fb /config
parent050b6796a68e66dac364ee611af777526e014d39 (diff)
downloadacf-provisioning-659f402452d1d97a13cb39f951bdd5f35d81ea36.tar.bz2
acf-provisioning-659f402452d1d97a13cb39f951bdd5f35d81ea36.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> (cherry picked from commit 8d84399705a808d4d22ad3df7f07a68ef3d7fb6c)
Diffstat (limited to 'config')
-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 ?