From 6f878f7a89b7d16ef3bc1fb958a23ab7bbffd36b Mon Sep 17 00:00:00 2001 From: Mark J Crane Date: Mon, 25 Jan 2021 10:01:55 -0700 Subject: [PATCH] Add new Polycom 6.x template --- .../polycom/6.x/{$mac}-directory.xml | 28 ++ .../provision/polycom/6.x/{$mac}.cfg | 248 ++++++++++++++++++ 2 files changed, 276 insertions(+) create mode 100644 resources/templates/provision/polycom/6.x/{$mac}-directory.xml create mode 100644 resources/templates/provision/polycom/6.x/{$mac}.cfg diff --git a/resources/templates/provision/polycom/6.x/{$mac}-directory.xml b/resources/templates/provision/polycom/6.x/{$mac}-directory.xml new file mode 100644 index 0000000000..bbc5b1624b --- /dev/null +++ b/resources/templates/provision/polycom/6.x/{$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} + 7 + + 0 + 0 + 0 + 0 + + {assign var=x value=$x+1} + {/foreach} + + diff --git a/resources/templates/provision/polycom/6.x/{$mac}.cfg b/resources/templates/provision/polycom/6.x/{$mac}.cfg new file mode 100644 index 0000000000..b3888bafb4 --- /dev/null +++ b/resources/templates/provision/polycom/6.x/{$mac}.cfg @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + +