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 82c6bbbe7..495a26e20 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 3ed89a21d..6a2349adc 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 defa39424..28eaa1689 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 4b787f861..d4757ad0d 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 4b787f861..d4757ad0d 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 15f04a454..e3fc7788c 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 9b4c6e5d1..085531437 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 80143f0ad..e5383f13d 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 80143f0ad..e5383f13d 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 da02affb5..084802b65 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 a3d83b716..1d95eb127 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 a9368d61d..62eebdb0f 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 978bdc0e6..834fc7aae 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 ee3df75c5..a0019e9d3 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 fa3be9aa1..1fe8f48aa 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 2273cea06..313c2faee 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 51e0f94db..0ce6aee06 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 8f9a8e441..9760d743b 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 01378b921..dcf34e4b1 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 bb812793b..edd30a199 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 bc648773f..13844cb39 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 59ca471b3..5d05a1446 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 3e799f990..2453678f3 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 0bd54b3b8..95af92ae8 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 5b4b92fd6..184617425 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 f4abf4bf5..aab2871d6 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 6bb3b723f..486a4e23e 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 24b357a1d..c8e70dd79 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 6fb452f51..27e91d4f3 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 7e9857015..41ae8c2ac 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 f9260c67d..cb14d7919 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 123806136..1527d4b62 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 6a404ef3d..c90b7d041 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 d0cd9652d..7ca9c07a6 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 9973344d8..aee838d78 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 4343c9fde..eea22ec14 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"}