mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 17:33:48 +00:00
* Update Grandstream provisioning * Add Vtech * Create app_config.php fix typo * Update app_config.php remove newline at end as it can break php * Update app_config.php remove newline at end as it can break php * Create app_config.php remove newline at end. * Update app_config.php remove trailing newline * Create device_edit.php Add both http and https * Create app_config.php remove newline * Add gxp16xx and fix typos
24 lines
796 B
XML
24 lines
796 B
XML
<?xml version="1.0"?>
|
|
<directory>
|
|
<DIR_GROUP>
|
|
{foreach $contacts as $contact}
|
|
{if $contact.contact_name_given != "" && $contact.contact_type == "contact"}
|
|
<DIR_ENTRY>
|
|
<DIR_ENTRY_NAME_FIRST>{$contact.contact_name_given}</DIR_ENTRY_NAME_FIRST>
|
|
<DIR_ENTRY_NAME_LAST>{$contact.contact_name_family}</DIR_ENTRY_NAME_LAST>
|
|
<DIR_ENTRY_NUMBER_WORK>{$contact.contact_work}</DIR_ENTRY_NUMBER_WORK>
|
|
{if $contact.contact_cell != "" }
|
|
<DIR_ENTRY_NUMBER_MOBILE>{$contact.contact_cell}</DIR_ENTRY_NUMBER_MOBILE>
|
|
{/if}
|
|
{if $contact.contact_home != "" }
|
|
<DIR_ENTRY_NUMBER_OTHER>{$contact.contact_home}</DIR_ENTRY_NUMBER_OTHER>
|
|
{/if}
|
|
<DIR_ENTRY_LINE_NUMBER>0</DIR_ENTRY_LINE_NUMBER>
|
|
<DIR_ENTRY_BLOCK>0</DIR_ENTRY_BLOCK>
|
|
<DIR_ENTRY_RINGER>0</DIR_ENTRY_RINGER>
|
|
</DIR_ENTRY>
|
|
{/if}
|
|
{/foreach}
|
|
</DIR_GROUP>
|
|
</directory>
|