diff --git a/app/polycom/app_config.php b/app/polycom/app_config.php
index 08e8a1afb6..5870c0903f 100644
--- a/app/polycom/app_config.php
+++ b/app/polycom/app_config.php
@@ -183,6 +183,254 @@
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates.";
$y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f7f3f966-50a2-4e9d-b2d3-410105aec289";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip321";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP321.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c9adc695-c6de-4e0b-8a9f-0be2cbe44688";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip331";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP331.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "9f00305f-6319-433a-93d3-285a26e1462f";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip335";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP335.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b31fd27a-ca37-4098-af24-1b345812fdf2";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip450";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP450.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ad635e7d-62b1-40fc-ac39-e7217eb9cb9c";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip5000";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP5000.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "dbc3dd9d-2f8d-4671-81df-7c5be9533e9f";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip550";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP550.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "22e9bc74-81f7-4911-a9b2-e4c3ab46dddc";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip560";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP560.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "83e7e323-3c49-4fd2-93c8-68b8bd225572";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip6000";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP6000.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "555b81f2-3e4f-47f1-a10d-d0e7613d645c";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip650";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP650.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6c4bc29a-eac6-4a45-8cf9-a07e75e0673e";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip670";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP670.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "705ed34e-dd03-45da-ba0c-a89faafa6857";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_ip7000";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for IP7000.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3faabb7d-f896-44fc-a1ae-727149265395";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_duo";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/4.0.15.1009/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for Sound Station Duo.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f04f3b70-56c9-4f1c-b43f-b9098f8bcaa7";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx101";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX101.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "af85342c-8104-432e-99c2-d1b4253188e3";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx150";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX150.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "5a0ad10e-2a86-41f7-8811-7d3078859bc6";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx1500";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.5.0614/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX1500.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b6f031f4-aaad-48e2-a76d-5e6dc6cec6d5";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx201";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX201.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6423e85f-e49d-4824-b73d-13afd6b6eac9";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx250";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX250.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2b4381a3-cf23-4fb8-8884-f2fdade4b9e6";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx300";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX300.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "94130d18-b848-4a58-b454-d8f1f84fef2d";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx301";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX301.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "cddf945d-0d59-44d7-b650-76ff917be374";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx310";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX310.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c5c6529a-1311-4379-ace3-3feac1963330";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx311";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX311.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a6b539c8-065d-4d8e-94a0-eefa13c06e01";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx350";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "56f18819-6b98-42d5-903d-a6ac7bd19a49";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx400";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX400.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "dd033f31-4531-43d2-a3a3-e63f149ed3b0";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx401";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX401.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c792eb3f-6bc2-46ed-a336-fb8e21820b51";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx410";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX410.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "fb879f58-9233-4c49-8efa-399afce28c9e";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx411";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX411.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0d9df188-e31b-4968-854d-8b8b626602a0";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx450";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX450.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f5149425-f140-4468-b845-d2a83e687b74";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx500";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX500.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c4214f46-d300-42c9-a79d-ce295a39d915";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx501";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "5a468b30-f81a-447c-857c-e91e8edc5ee5";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx600";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/5.9.7.3480/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX600.";
+ $y++;
+ $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d3c028a5-b7de-4def-8c81-acae29a1b75d";
+ $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
+ $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_firmware_url_vvx601";
+ $apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
+ $apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/polycom/resources/firmware/6.4.2.3008/";
+ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
+ $apps[$x]['default_settings'][$y]['default_setting_description'] = "Polycom Firmware URL for automatic firmware updates for VVX601.";
+ $y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "db41288d-c75a-4005-b103-76e795885375";
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "polycom_log_upload_enabled";
diff --git a/resources/templates/provision/polycom/duo/{$mac}-directory.xml b/resources/templates/provision/polycom/duo/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/duo/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/duo/{$mac}.cfg b/resources/templates/provision/polycom/duo/{$mac}.cfg
new file mode 100644
index 0000000000..4e5d1d7625
--- /dev/null
+++ b/resources/templates/provision/polycom/duo/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip321/{$mac}-directory.xml b/resources/templates/provision/polycom/ip321/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip321/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip321/{$mac}.cfg b/resources/templates/provision/polycom/ip321/{$mac}.cfg
new file mode 100644
index 0000000000..db4de5f324
--- /dev/null
+++ b/resources/templates/provision/polycom/ip321/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip331/{$mac}-directory.xml b/resources/templates/provision/polycom/ip331/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip331/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip331/{$mac}.cfg b/resources/templates/provision/polycom/ip331/{$mac}.cfg
new file mode 100644
index 0000000000..a33afafa3d
--- /dev/null
+++ b/resources/templates/provision/polycom/ip331/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip335/{$mac}-directory.xml b/resources/templates/provision/polycom/ip335/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip335/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip335/{$mac}.cfg b/resources/templates/provision/polycom/ip335/{$mac}.cfg
new file mode 100644
index 0000000000..a33afafa3d
--- /dev/null
+++ b/resources/templates/provision/polycom/ip335/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip450/{$mac}-directory.xml b/resources/templates/provision/polycom/ip450/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip450/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip450/{$mac}.cfg b/resources/templates/provision/polycom/ip450/{$mac}.cfg
new file mode 100644
index 0000000000..388ad00721
--- /dev/null
+++ b/resources/templates/provision/polycom/ip450/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip5000/{$mac}-directory.xml b/resources/templates/provision/polycom/ip5000/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip5000/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip5000/{$mac}.cfg b/resources/templates/provision/polycom/ip5000/{$mac}.cfg
new file mode 100644
index 0000000000..f5e67fdb07
--- /dev/null
+++ b/resources/templates/provision/polycom/ip5000/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip550/{$mac}-directory.xml b/resources/templates/provision/polycom/ip550/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip550/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip550/{$mac}.cfg b/resources/templates/provision/polycom/ip550/{$mac}.cfg
new file mode 100644
index 0000000000..f62d9bab94
--- /dev/null
+++ b/resources/templates/provision/polycom/ip550/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip560/{$mac}-directory.xml b/resources/templates/provision/polycom/ip560/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip560/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip560/{$mac}.cfg b/resources/templates/provision/polycom/ip560/{$mac}.cfg
new file mode 100644
index 0000000000..2a51d777f4
--- /dev/null
+++ b/resources/templates/provision/polycom/ip560/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip6000/{$mac}-directory.xml b/resources/templates/provision/polycom/ip6000/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip6000/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip6000/{$mac}.cfg b/resources/templates/provision/polycom/ip6000/{$mac}.cfg
new file mode 100644
index 0000000000..367d1c6cbe
--- /dev/null
+++ b/resources/templates/provision/polycom/ip6000/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip650/{$mac}-directory.xml b/resources/templates/provision/polycom/ip650/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip650/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip650/{$mac}.cfg b/resources/templates/provision/polycom/ip650/{$mac}.cfg
new file mode 100644
index 0000000000..0d0b16eb3a
--- /dev/null
+++ b/resources/templates/provision/polycom/ip650/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip670/{$mac}-directory.xml b/resources/templates/provision/polycom/ip670/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip670/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip670/{$mac}.cfg b/resources/templates/provision/polycom/ip670/{$mac}.cfg
new file mode 100644
index 0000000000..5e78a2b54d
--- /dev/null
+++ b/resources/templates/provision/polycom/ip670/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/ip7000/{$mac}-directory.xml b/resources/templates/provision/polycom/ip7000/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/ip7000/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/ip7000/{$mac}.cfg b/resources/templates/provision/polycom/ip7000/{$mac}.cfg
new file mode 100644
index 0000000000..4c52d4ae0f
--- /dev/null
+++ b/resources/templates/provision/polycom/ip7000/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx101/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx101/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx101/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx101/{$mac}.cfg b/resources/templates/provision/polycom/vvx101/{$mac}.cfg
new file mode 100644
index 0000000000..41987a7879
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx101/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx150/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx150/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx150/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx150/{$mac}.cfg b/resources/templates/provision/polycom/vvx150/{$mac}.cfg
new file mode 100644
index 0000000000..9ee83d2169
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx150/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx1500/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx1500/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx1500/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx1500/{$mac}.cfg b/resources/templates/provision/polycom/vvx1500/{$mac}.cfg
new file mode 100644
index 0000000000..88e453d32d
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx1500/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx201/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx201/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx201/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx201/{$mac}.cfg b/resources/templates/provision/polycom/vvx201/{$mac}.cfg
new file mode 100644
index 0000000000..a9a01711d6
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx201/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx250/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx250/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx250/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx250/{$mac}.cfg b/resources/templates/provision/polycom/vvx250/{$mac}.cfg
new file mode 100644
index 0000000000..55733e0e5c
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx250/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx300/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx300/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx300/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx300/{$mac}.cfg b/resources/templates/provision/polycom/vvx300/{$mac}.cfg
new file mode 100644
index 0000000000..7d5e2f478e
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx300/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx301/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx301/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx301/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx301/{$mac}.cfg b/resources/templates/provision/polycom/vvx301/{$mac}.cfg
new file mode 100644
index 0000000000..ad5fc589d1
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx301/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx310/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx310/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx310/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx310/{$mac}.cfg b/resources/templates/provision/polycom/vvx310/{$mac}.cfg
new file mode 100644
index 0000000000..60bac491f3
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx310/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx311/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx311/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx311/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx311/{$mac}.cfg b/resources/templates/provision/polycom/vvx311/{$mac}.cfg
new file mode 100644
index 0000000000..50a92709b1
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx311/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx350/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx350/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx350/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx350/{$mac}.cfg b/resources/templates/provision/polycom/vvx350/{$mac}.cfg
new file mode 100644
index 0000000000..a7156c0ff8
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx350/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx400/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx400/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx400/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx400/{$mac}.cfg b/resources/templates/provision/polycom/vvx400/{$mac}.cfg
new file mode 100644
index 0000000000..c5a6e82f3e
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx400/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx401/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx401/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx401/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx401/{$mac}.cfg b/resources/templates/provision/polycom/vvx401/{$mac}.cfg
new file mode 100644
index 0000000000..5cc7e0fef0
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx401/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx410/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx410/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx410/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx410/{$mac}.cfg b/resources/templates/provision/polycom/vvx410/{$mac}.cfg
new file mode 100644
index 0000000000..9227940abc
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx410/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx411/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx411/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx411/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx411/{$mac}.cfg b/resources/templates/provision/polycom/vvx411/{$mac}.cfg
new file mode 100644
index 0000000000..c1b02c5833
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx411/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx450/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx450/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx450/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx450/{$mac}.cfg b/resources/templates/provision/polycom/vvx450/{$mac}.cfg
new file mode 100644
index 0000000000..6503c5b7d7
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx450/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx500/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx500/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx500/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx500/{$mac}.cfg b/resources/templates/provision/polycom/vvx500/{$mac}.cfg
new file mode 100644
index 0000000000..bd58539544
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx500/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx501/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx501/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx501/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx501/{$mac}.cfg b/resources/templates/provision/polycom/vvx501/{$mac}.cfg
new file mode 100644
index 0000000000..14a9bf60cd
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx501/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx600/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx600/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx600/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx600/{$mac}.cfg b/resources/templates/provision/polycom/vvx600/{$mac}.cfg
new file mode 100644
index 0000000000..cb63033157
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx600/{$mac}.cfg
@@ -0,0 +1,351 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/vvx601/{$mac}-directory.xml b/resources/templates/provision/polycom/vvx601/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx601/{$mac}-directory.xml
@@ -0,0 +1,28 @@
+
+
+
+ {assign var=x value=1}
+ {foreach $contacts as $row}
+ -
+ {if $row.contact_name_given != ""}
+ {$row.contact_name_family}
+ {$row.contact_name_given}
+ {else}
+ {$row.contact_organization}
+ {/if}
+ {if $row.phone_number != ""}
+ {$row.phone_number}
+ {else}
+ {$row.phone_extension}
+ {/if}
+
+
+ 0
+ 0
+ 0
+ 0
+
+ {assign var=x value=$x+1}
+ {/foreach}
+
+
diff --git a/resources/templates/provision/polycom/vvx601/{$mac}.cfg b/resources/templates/provision/polycom/vvx601/{$mac}.cfg
new file mode 100644
index 0000000000..e20f85e1e5
--- /dev/null
+++ b/resources/templates/provision/polycom/vvx601/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+