mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-11 19:18:46 +00:00
Create directory.xml
This commit is contained in:
18
resources/templates/provision/snom/7xx/directory.xml
Normal file
18
resources/templates/provision/snom/7xx/directory.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tbook complete="true">
|
||||
{foreach $contacts as $row}
|
||||
<item context="active" type="" fav="false" mod="false" index="0">
|
||||
{if $row.contact_name_given != ""}
|
||||
<name>{$row.contact_name_given} {$row.contact_name_family}</name>
|
||||
{else}
|
||||
<name>{$row.contact_organization}</name>
|
||||
{/if}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<number>{$number.phone_number}</number>
|
||||
{else}
|
||||
<number>{$number.phone_extension}</number>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</item>
|
||||
{/foreach}
|
||||
Reference in New Issue
Block a user