Update directory_extensions.xml

This commit is contained in:
blackc2004 2016-03-24 08:38:53 -07:00
parent 53d609624b
commit 310863f21f
1 changed files with 5 additions and 5 deletions

View File

@ -1,18 +1,18 @@
<YealinkIPPhoneDirectory>
{assign var=x value=1}
{foreach $extensions as $row}
{foreach $contacts as $row}
<DirectoryEntry>
{if $row.directory_full_name != ""}
<Name>{$row.directory_full_name}</Name>
{if $row.contact_name_given != ""}
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
{else}
<Name>{$row.effective_caller_id_name}</Name>
{/if}
{if $row.number_alias != ""}
<Telephone>{$row.number_alias}</Telephone>
{else}
<Telephone>{$row.extension}</Telephone>
<Telephone>{$row.phone_extension}</Telephone>
{/if}
</DirectoryEntry>
{assign var=x value=$x+1}
{/foreach}
</YealinkIPPhoneDirectory>
</YealinkIPPhoneDirectory>