diff --git a/resources/templates/provision/polycom/4.x/{$mac}-directory.xml b/resources/templates/provision/polycom/4.x/{$mac}-directory.xml new file mode 100644 index 0000000000..682c175c05 --- /dev/null +++ b/resources/templates/provision/polycom/4.x/{$mac}-directory.xml @@ -0,0 +1,28 @@ + + + + + {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} + 1 + 7 + + 0 + 0 + 0 + 0 + + {/foreach} + + \ No newline at end of file diff --git a/resources/templates/provision/polycom/5.x/{$mac}-directory.xml b/resources/templates/provision/polycom/5.x/{$mac}-directory.xml new file mode 100644 index 0000000000..682c175c05 --- /dev/null +++ b/resources/templates/provision/polycom/5.x/{$mac}-directory.xml @@ -0,0 +1,28 @@ + + + + + {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} + 1 + 7 + + 0 + 0 + 0 + 0 + + {/foreach} + + \ No newline at end of file