From 116b9b0f4c06074740ae99e91107c42c5ba56242 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 3 Jul 2015 20:00:47 -0400 Subject: polycom-template: do not automatically set dnd forwarding the same as busy Updating dnd forwarding causes the phone to reboot, which doesn't happen for busy forwarding If desired, we can add a forwarddnd parameter in the future --- config/templates/polycom-template.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config/templates') diff --git a/config/templates/polycom-template.lua b/config/templates/polycom-template.lua index ffdbc83..1cb15e4 100644 --- a/config/templates/polycom-template.lua +++ b/config/templates/polycom-template.lua @@ -305,11 +305,13 @@ for pg, pg_t in pairs(values) do -- we do not use 'divert.noanswer.x.timeout', -- because it limits maximum rings *even when* forward-on-noanswer disabled - -- set forwardbusy on DND and on busy, as defined + -- set forwardbusy as defined xml_attr({ 'reg', num, 'fwd.busy.status' }, pg_t.forwardbusyenable) - xml_attr({ 'divert.dnd', num, 'enabled' }, pg_t.forwardbusyenable) xml_attr({ 'reg', num, 'fwd.busy.contact' }, pg_t.forwardbusy) - xml_attr({ 'divert.dnd', num, 'contact' }, pg_t.forwardbusy) + + -- set forwarddnd as defined + --xml_attr({ 'divert.dnd', num, 'enabled' }, pg_t.forwarddndenable) + --xml_attr({ 'divert.dnd', num, 'contact' }, pg_t.forwarddnd) else -- forwarding is not enabled -- disable the soft-key menu for forwarding xml_attr({ 'divert.fwd', num, 'enabled' }, '0') -- cgit v1.2.3