Help with FreePBX Directory Script
-
Thank you for the analysis.
Whats next?
Regards
-
I would need documentation on the Fanvil format to modify the script to work with their XML fully to have multiple numbers under one contact.
-
-
@bholler said in Help with FreePBX Directory Script:
Will this work?
My god that is unhelpful.. The section labeled for this was not accurate.. but I found it elsewhere in there.
This is the working format.
I'll look at the script later and make an update that will work for these devices.
-
@bholler said in Help with FreePBX Directory Script:
Whats next?
You need to make sure you go into your FreePBX User Manager and populate the cell phone for all the users that need it.
Edit each user and click on User Details
Populate numbers as needed..
-
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