Files
fusionpbx/resources/templates/provision/grandstream/dp750/phonebook.xml
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* 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
2017-06-08 16:21:47 -06:00

27 lines
670 B
XML

<?xml version="1.0" encoding="utf-8"?>
<AddressBook>
<version>1</version>
{$i=0}
{foreach $contacts as $contact}
{if $contact.contact_name_given != "" && $contact.contact_type == "contact"}
<Contact>
<FirstName>{$contact.contact_name_given}</FirstName>
<LastName>{$contact.contact_name_family}</LastName>
<Phone type="Work">
<phonenumber>{$contact.contact_work}</phonenumber>
</Phone>
{if $contact.contact_home != "" }
<Phone type="Home">
<phonenumber>{$contact.contact_home}</phonenumber>
</Phone>
{/if}
{if $contact.contact_cell != "" }
<Phone type="Mobile">
<phonenumber>{$contact.contact_cell}</phonenumber>
</Phone>
{/if}
</Contact>
{/if}
{/foreach}
</AddressBook>