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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /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..c00155db74
--- /dev/null
+++ b/resources/templates/provision/polycom/IP7000/{$mac}.cfg
@@ -0,0 +1,248 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/templates/provision/polycom/SoundStationDuo/{$mac}-directory.xml b/resources/templates/provision/polycom/SoundStationDuo/{$mac}-directory.xml
new file mode 100644
index 0000000000..bbc5b1624b
--- /dev/null
+++ b/resources/templates/provision/polycom/SoundStationDuo/{$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/SoundStationDuo/{$mac}.cfg b/resources/templates/provision/polycom/SoundStationDuo/{$mac}.cfg
new file mode 100644
index 0000000000..c00155db74
--- /dev/null
+++ b/resources/templates/provision/polycom/SoundStationDuo/{$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..702df37081
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /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..38bfc698a2
--- /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..702df37081
--- /dev/null
+++ b/resources/templates/provision/polycom/VVX601/{$mac}.cfg
@@ -0,0 +1,347 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+