summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraalatchm <aalatchm@jamailca.com>2011-06-10 13:31:52 +0000
committerTed Trask <ttrask01@yahoo.com>2011-06-10 10:07:00 -0400
commit264589cc90b84a8dc1fa04ceae502f0cd13f5692 (patch)
tree62b070941468e7fa420a5f05a700ce20fe797bb5
parent5008a48f6a923c83d77a07c3ed5478f0b6a4de4f (diff)
downloadacf-provisioning-264589cc90b84a8dc1fa04ceae502f0cd13f5692.tar.bz2
acf-provisioning-264589cc90b84a8dc1fa04ceae502f0cd13f5692.tar.xz
Set Linksys phone to ring more than 20 seconds if no-answer forwarding is disabled.
-rw-r--r--templates/linksysata-template.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/linksysata-template.lua b/templates/linksysata-template.lua
index e3d0d9e..803019e 100644
--- a/templates/linksysata-template.lua
+++ b/templates/linksysata-template.lua
@@ -358,14 +358,16 @@ http://<% io.write(web_server) %>/Linksys/$MA.xml
end
if pg_t.forwardnoanswerenable then
fwddata.noanswer = pg_t.forwardnoanswer
+ fwddata.noanswerdelay = "20"
else
fwddata.noanswer = ""
+ fwddata.noanswerdelay = ""
end
%>
<Cfwd_All_Dest_1_ ua="na"><%= fwddata.all %></Cfwd_All_Dest_1_>
<Cfwd_Busy_Dest_1_ ua="na"><%= fwddata.busy %></Cfwd_Busy_Dest_1_>
<Cfwd_No_Ans_Dest_1_ ua="na"><%= fwddata.noanswer %></Cfwd_No_Ans_Dest_1_>
-<Cfwd_No_Ans_Delay_1_ ua="na">20</Cfwd_No_Ans_Delay_1_>
+<Cfwd_No_Ans_Delay_1_ ua="na"><%= fwddata.noanswerdelay %></Cfwd_No_Ans_Delay_1_>
<%
end
%>