We've decided to include the XML phonebook in our provisioning of our GXP2130 and 60 phones. FusionPBX doesn't come with the files to support that, so here's a basic one we made that works with extensions, first and last names, and contact photos. Create a file called "phonebook.xml" in each grandstream provisioning profile folder of the profiles you use, and insert the contents below. One could modify this even more so it takes advantage of the <accountindex> tag and assign contacts to the respective extension when multiple extensions are configured on the phone.
<?xml version="1.0" encoding="UTF-8"?>
<AddressBook>
{foreach $contacts as $contact}
</AddressBook>
<?xml version="1.0" encoding="UTF-8"?>
<AddressBook>
{foreach $contacts as $contact}
<Contact>
{/foreach}<LastName>{$contact.contact_name_family}</LastName>
<FirstName>{$contact.contact_name_given}</FirstName>
<Phone>
<PhotoUrl>http(s)://your_server/some_path/{$contact.phone_extension}.jpg</PhotoUrl>
</Contact><FirstName>{$contact.contact_name_given}</FirstName>
<Phone>
<phonenumber>{$contact.phone_extension}</phonenumber>
<accountindex>1</accountindex>
</Phone><accountindex>1</accountindex>
<PhotoUrl>http(s)://your_server/some_path/{$contact.phone_extension}.jpg</PhotoUrl>
</AddressBook>
Last edited: