frest
(frest)
November 4, 2024, 8:51pm
1
After Migration to FreepPBX 17 i am getting aware, that the Asterisk Phonebook has gone. Now I want do use the Contactmanager, to display Contacts on my Yealink Phones via XML.
There seems to be a script by @sorvani :
https://github.com/sorvani/freepbx-helper-scripts/blob/master/ContactManager_to_Yealink_AddressBook/cm_to_yl_ab.php
My problem: the script does not work.
I am getting an error: “Undefined variable $username”
Maybe the script does not work with FreePBX 17 as well?
sorvani
(Jared Busch)
November 4, 2024, 11:39pm
2
I just converted my first system to 17 a weekish ago. I’ll be testing this out soon.
1 Like
I think that’s a variation of the script I posted here:
With those phones you may need to do the following fix with the .htaccess documented here:
I use the following script to generate the directory.xml file for my Cisco phones. Its a mod of a script that’s been posted here before. I refirect output to directory.xml then edit directory.xml and remove all the test extensions I don’t want the phones displaying.
root@phony:/var/www/html/cisco# cat /var/www/html/cisco/directory.php
<?php
// File: gs_phonebook.php
// version: 1.1
// Date: 2011-03-1…
frest
(frest)
November 6, 2024, 12:41pm
4
Great!. Until that, I am keeping my old freepbx VM online, just for the phonebook.