From 0ae13e26c5985e832eef1b112f5ff92b6b7008bd Mon Sep 17 00:00:00 2001 From: Antonio Fernandez Date: Wed, 29 May 2024 13:25:10 -0400 Subject: [PATCH] C520 directory changes to template (#6982) * added directory to Snom C520 * uri change * minor changes to the template * added number_type in xml to fix directory --- .../templates/provision/snom/C520/directory.xml | 11 +++++++++++ .../templates/provision/snom/C520/{$mac}.xml | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 resources/templates/provision/snom/C520/directory.xml 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} + + +