diff options
author | Ted Trask <ttrask01@yahoo.com> | 2015-07-03 20:00:47 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2015-07-03 20:00:47 -0400 |
commit | 116b9b0f4c06074740ae99e91107c42c5ba56242 (patch) | |
tree | 9a3e884dd4ba5a7ab1a0a580bdb98337176c6d12 /config | |
parent | a51a05f0c0a410721e7e00a9d92c13ca9fe6ce34 (diff) | |
download | acf-provisioning-116b9b0f4c06074740ae99e91107c42c5ba56242.tar.bz2 acf-provisioning-116b9b0f4c06074740ae99e91107c42c5ba56242.tar.xz |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/templates/polycom-template.lua | 8 |
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') |