I succesfully used Sorvani’s ContactManager_to_Yealink_AddressBook php script , so I tried his ContactManager_to_Fanvil_AddressBook for my Fanvil V67.
V67 phonebook was populated with the same contacts as yealink phones but when I hit a contact, phone says “This contact has no number”.
Has someone experienced this issue with fanvil phones ? Is it a V67 issue ?
In case one needs…
I solved this way :
Telephone numbers in my contact mananger entries are stored as “work”
Basic cm_to_fv_ab.php files generates an XML like this :
<DirectoryEntry>
<Name>John</Name>
<Work>1234567</Work>
</DirectoryEntry>
But “Work” field is not recognized by Fanvil phones, so I had to modify cm_to_fv_ab.php to fit this need :
// Edit these variables as neeed to:
// 1. Match the name of the group in Contact Manager or pass the group name in the URL.
// 1a. The default ‘Internal’ group is named ‘User Manager Group’ is using that on the URL, use %20 in place of the spaces.
// 2. Use E164 by default
// 3. Customize the label names of the contact types
$contact_manager_group = isset($_GET[‘cgroup’]) ? $_GET[‘cgroup’] : “Rubrica”; // ← Edit “SomeName” to make your own default
$use_e164 = isset($_GET[‘e164’]) ? $_GET[‘e164’] : 0; // ← Edit 0 to 1 to use the E164 formatted numbers by default
$ctype[‘internal’] = “Telephone”; // ← Edit the right side to display what you want shown
$ctype[‘cell’] = “Mobile”; // ← Edit the right side to display what you want shown
$ctype[‘work’] = “Work”; // ← Edit the right side to display what you want shown
$ctype[‘home’] = “Home”; // ← Edit the right side to display what you want shown
$ctype[‘other’] = “Other”; // ← Edit the right side to display what you want shown
So I simply modified
$ctype[‘work’] = “Work”
into
$ctype[‘work’] = “Telephone”
to achieve the XML structure like
<DirectoryEntry>
<Name>John</Name>
<Telephone>1234567</Telephone>
</DirectoryEntry>
recognized by Fanvil phones.
Job done.