summaryrefslogtreecommitdiffstats
path: root/config/templates/polycom-template.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/templates/polycom-template.lua')
-rw-r--r--config/templates/polycom-template.lua8
1 files changed, 5 insertions, 3 deletions
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')