Help with FreePBX Directory Script
-
Fanvil address book script added to gthub.
- SSH into your FreePBX instance, and become root if you are not.
sudo su -
- Change into the directory you want the script. I drop things in a sub-directory named custom.
cd /var/www/html/custom
- Download the file from github
wget -O cmfa.php https://github.com/sorvani/freepbx-helper-scripts/raw/master/ContactManager_to_Fanvil_AddressBook/cm_to_fv_ab.php
- Open a browser and load the page with the
User Manager Group
parameter to see if it works.
https://pbx.domain.com/custom/cmfa.php?cgroup=User%20Manager%20Group
5. Log into your phone and choose Phonebook on the left menu.
6. Click on Cloud phonebook on the top menu.
7. Give it a name and then paste in the URL, specify the calling line and search line if desired.
8. Click apply, and then click on the the Phonebook name at the top of the page to see the phonebook in the web interface.
-
I got this error on step 4
What do i do
-
@bholler said in Help with FreePBX Directory Script:
I got this error on step 4
What do i do
Did you make sure your users were set up in User Manager as instructed?
-
I have 23 contact in that user manager group.
-
@bholler said in Help with FreePBX Directory Script:
I have 23 contact in that user manager group.
Right click the page with the error and view source.
-
-
@bholler The script works. the group is empty.
-
Go to Admin->Contact Manager
What is the name of the default internal group?
-
-
Then change the URL to
hod
-
It displays on browser but not on phone. I dont know why
-
Download the file from github again. I fixed what I missed when I uploaded it.
-
It is the same outcome after downloading with the link below
wget -O cmfa.php https://github.com/sorvani/freepbx-helper-scripts/raw/master/ContactManager_to_Fanvil_AddressBook/cm_to_fv_ab.php
-
paste in the source view.
-
xml output on browser is successful. But not same on phone
-
Are you sure this is the right FQDN?
https://XXX.XXXXX.com.ng/custom/cmfa.php?cgroup=ccenter
-
it returned the xml output below
-
Everything works fine now.
The issue was a DNS resolution for devices within the LAN. I added an A record on the router for split dns. That solved the problem.
Thank you so much for your support