From 724937dd73d43ef8da199e9daecad762b955f974 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 12 Sep 2025 16:16:31 -0600 Subject: [PATCH] Add setting polycom_restrict_pickup --- app/polycom/app_config.php | 8 ++++++++ resources/templates/provision/poly/edge-e550/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/4.x/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/5.x/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/6.x/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/duo/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip321/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip331/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip335/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip450/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip5000/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip550/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip560/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip6000/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip650/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip670/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/ip7000/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx101/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx150/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx1500/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx201/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx250/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx300/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx301/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx310/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx311/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx350/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx400/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx401/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx410/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx411/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx450/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx500/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx501/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx600/{$mac}.cfg | 3 +++ resources/templates/provision/polycom/vvx601/{$mac}.cfg | 3 +++ 36 files changed, 113 insertions(+) diff --git a/app/polycom/app_config.php b/app/polycom/app_config.php index 82c6bbbe73..495a26e201 100644 --- a/app/polycom/app_config.php +++ b/app/polycom/app_config.php @@ -839,5 +839,13 @@ $apps[$x]['default_settings'][$y]['default_setting_value'] = "933"; $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "933 service"; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b9596f2e-cebe-46a4-8edf-5a278b170213"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_restrict_pickup"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "0"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "0 (default) - The attendant can pick up calls to monitored users while they show as ringing. 1 - The attendant cannot pick up monitored calls."; ?> diff --git a/resources/templates/provision/poly/edge-e550/{$mac}.cfg b/resources/templates/provision/poly/edge-e550/{$mac}.cfg index 3ed89a21d6..6a2349adc8 100644 --- a/resources/templates/provision/poly/edge-e550/{$mac}.cfg +++ b/resources/templates/provision/poly/edge-e550/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/4.x/{$mac}.cfg b/resources/templates/provision/polycom/4.x/{$mac}.cfg index defa39424f..28eaa1689f 100644 --- a/resources/templates/provision/polycom/4.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/4.x/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" +{ if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/5.x/{$mac}.cfg b/resources/templates/provision/polycom/5.x/{$mac}.cfg index 4b787f8619..d4757ad0dd 100644 --- a/resources/templates/provision/polycom/5.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/5.x/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/6.x/{$mac}.cfg b/resources/templates/provision/polycom/6.x/{$mac}.cfg index 4b787f8619..d4757ad0dd 100644 --- a/resources/templates/provision/polycom/6.x/{$mac}.cfg +++ b/resources/templates/provision/polycom/6.x/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/duo/{$mac}.cfg b/resources/templates/provision/polycom/duo/{$mac}.cfg index 15f04a4546..e3fc7788c6 100644 --- a/resources/templates/provision/polycom/duo/{$mac}.cfg +++ b/resources/templates/provision/polycom/duo/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip321/{$mac}.cfg b/resources/templates/provision/polycom/ip321/{$mac}.cfg index 9b4c6e5d18..0855314378 100644 --- a/resources/templates/provision/polycom/ip321/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip321/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip331/{$mac}.cfg b/resources/templates/provision/polycom/ip331/{$mac}.cfg index 80143f0add..e5383f13d4 100644 --- a/resources/templates/provision/polycom/ip331/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip331/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip335/{$mac}.cfg b/resources/templates/provision/polycom/ip335/{$mac}.cfg index 80143f0add..e5383f13d4 100644 --- a/resources/templates/provision/polycom/ip335/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip335/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip450/{$mac}.cfg b/resources/templates/provision/polycom/ip450/{$mac}.cfg index da02affb55..084802b653 100644 --- a/resources/templates/provision/polycom/ip450/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip450/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip5000/{$mac}.cfg b/resources/templates/provision/polycom/ip5000/{$mac}.cfg index a3d83b716c..1d95eb127d 100644 --- a/resources/templates/provision/polycom/ip5000/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip5000/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip550/{$mac}.cfg b/resources/templates/provision/polycom/ip550/{$mac}.cfg index a9368d61da..62eebdb0f2 100644 --- a/resources/templates/provision/polycom/ip550/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip550/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip560/{$mac}.cfg b/resources/templates/provision/polycom/ip560/{$mac}.cfg index 978bdc0e66..834fc7aaee 100644 --- a/resources/templates/provision/polycom/ip560/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip560/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip6000/{$mac}.cfg b/resources/templates/provision/polycom/ip6000/{$mac}.cfg index ee3df75c56..a0019e9d31 100644 --- a/resources/templates/provision/polycom/ip6000/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip6000/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip650/{$mac}.cfg b/resources/templates/provision/polycom/ip650/{$mac}.cfg index fa3be9aa1b..1fe8f48aa2 100644 --- a/resources/templates/provision/polycom/ip650/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip650/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip670/{$mac}.cfg b/resources/templates/provision/polycom/ip670/{$mac}.cfg index 2273cea062..313c2faeee 100644 --- a/resources/templates/provision/polycom/ip670/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip670/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/ip7000/{$mac}.cfg b/resources/templates/provision/polycom/ip7000/{$mac}.cfg index 51e0f94dbb..0ce6aee06f 100644 --- a/resources/templates/provision/polycom/ip7000/{$mac}.cfg +++ b/resources/templates/provision/polycom/ip7000/{$mac}.cfg @@ -165,6 +165,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx101/{$mac}.cfg b/resources/templates/provision/polycom/vvx101/{$mac}.cfg index 8f9a8e441d..9760d743be 100644 --- a/resources/templates/provision/polycom/vvx101/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx101/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx150/{$mac}.cfg b/resources/templates/provision/polycom/vvx150/{$mac}.cfg index 01378b9214..dcf34e4b15 100644 --- a/resources/templates/provision/polycom/vvx150/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx150/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx1500/{$mac}.cfg b/resources/templates/provision/polycom/vvx1500/{$mac}.cfg index bb812793b9..edd30a1998 100644 --- a/resources/templates/provision/polycom/vvx1500/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx1500/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx201/{$mac}.cfg b/resources/templates/provision/polycom/vvx201/{$mac}.cfg index bc648773fc..13844cb39a 100644 --- a/resources/templates/provision/polycom/vvx201/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx201/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx250/{$mac}.cfg b/resources/templates/provision/polycom/vvx250/{$mac}.cfg index 59ca471b30..5d05a1446d 100644 --- a/resources/templates/provision/polycom/vvx250/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx250/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx300/{$mac}.cfg b/resources/templates/provision/polycom/vvx300/{$mac}.cfg index 3e799f9903..2453678f3e 100644 --- a/resources/templates/provision/polycom/vvx300/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx300/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx301/{$mac}.cfg b/resources/templates/provision/polycom/vvx301/{$mac}.cfg index 0bd54b3b8d..95af92ae84 100644 --- a/resources/templates/provision/polycom/vvx301/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx301/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx310/{$mac}.cfg b/resources/templates/provision/polycom/vvx310/{$mac}.cfg index 5b4b92fd6c..1846174253 100644 --- a/resources/templates/provision/polycom/vvx310/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx310/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx311/{$mac}.cfg b/resources/templates/provision/polycom/vvx311/{$mac}.cfg index f4abf4bf58..aab2871d6c 100644 --- a/resources/templates/provision/polycom/vvx311/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx311/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx350/{$mac}.cfg b/resources/templates/provision/polycom/vvx350/{$mac}.cfg index 6bb3b723fa..486a4e23ea 100644 --- a/resources/templates/provision/polycom/vvx350/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx350/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx400/{$mac}.cfg b/resources/templates/provision/polycom/vvx400/{$mac}.cfg index 24b357a1d8..c8e70dd794 100644 --- a/resources/templates/provision/polycom/vvx400/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx400/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx401/{$mac}.cfg b/resources/templates/provision/polycom/vvx401/{$mac}.cfg index 6fb452f515..27e91d4f39 100644 --- a/resources/templates/provision/polycom/vvx401/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx401/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx410/{$mac}.cfg b/resources/templates/provision/polycom/vvx410/{$mac}.cfg index 7e9857015f..41ae8c2ace 100644 --- a/resources/templates/provision/polycom/vvx410/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx410/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx411/{$mac}.cfg b/resources/templates/provision/polycom/vvx411/{$mac}.cfg index f9260c67da..cb14d79191 100644 --- a/resources/templates/provision/polycom/vvx411/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx411/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx450/{$mac}.cfg b/resources/templates/provision/polycom/vvx450/{$mac}.cfg index 123806136d..1527d4b62f 100644 --- a/resources/templates/provision/polycom/vvx450/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx450/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx500/{$mac}.cfg b/resources/templates/provision/polycom/vvx500/{$mac}.cfg index 6a404ef3d0..c90b7d041f 100644 --- a/resources/templates/provision/polycom/vvx500/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx500/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx501/{$mac}.cfg b/resources/templates/provision/polycom/vvx501/{$mac}.cfg index d0cd9652d6..7ca9c07a6a 100644 --- a/resources/templates/provision/polycom/vvx501/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx501/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx600/{$mac}.cfg b/resources/templates/provision/polycom/vvx600/{$mac}.cfg index 9973344d87..aee838d787 100644 --- a/resources/templates/provision/polycom/vvx600/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx600/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"} diff --git a/resources/templates/provision/polycom/vvx601/{$mac}.cfg b/resources/templates/provision/polycom/vvx601/{$mac}.cfg index 4343c9fde0..eea22ec14e 100644 --- a/resources/templates/provision/polycom/vvx601/{$mac}.cfg +++ b/resources/templates/provision/polycom/vvx601/{$mac}.cfg @@ -185,6 +185,9 @@ attendant.resourceList.{$row.device_key_id}.label="{$row.device_key_label}" attendant.resourceList.{$row.device_key_id}.proceedingIsRecipient="0" attendant.resourceList.{$row.device_key_id}.type="{$row.device_key_type}" + {if isset($polycom_restrict_pickup)} + attendant.restrictPickup="{$polycom_restrict_pickup}" + {/if} {else} {if $row.device_key_type != "line"} {if $row.device_key_type == "URL"}