diff --git a/resources/templates/provision/snom/C520/directory.xml b/resources/templates/provision/snom/C520/directory.xml new file mode 100644 index 0000000000..20d12c85dc --- /dev/null +++ b/resources/templates/provision/snom/C520/directory.xml @@ -0,0 +1,11 @@ + + + {foreach $contacts as $row} + + {$row.contact_name_given} + {$row.contact_name_family} + {if $row.category == "extensions"}{$row.phone_extension}{else}{$row.phone_number}{/if} + business + + {/foreach} + \ No newline at end of file diff --git a/resources/templates/provision/snom/C520/{$mac}.xml b/resources/templates/provision/snom/C520/{$mac}.xml index 948a38f151..29a65e4492 100644 --- a/resources/templates/provision/snom/C520/{$mac}.xml +++ b/resources/templates/provision/snom/C520/{$mac}.xml @@ -1,4 +1,20 @@ + + + + https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}{$project_path}/app/provision/{$mac}/directory.xml + + + + + + {$admin_password} + + + {$admin_password} + + +