Help with FreePBX Directory Script
-
@bholler said in Help with FreePBX Directory Script:
PS: Documentation below shows favil is compatible with yealink syntax
This documentation helps nothing.
-
@bholler said in Help with FreePBX Directory Script:
However, I need a twist to it because of the following reasons;
You are making assumptions that are likely not valid.
-
@JaredBusch I have port forwarding to a phone. how do i send you the details ?
Update: I sent you a private chat with the details
Update: Have see the login credentials?
-
@bholler said in Help with FreePBX Directory Script:
@JaredBusch I have port forwarding to a phone. how do i send you the details ?
Update: I sent you a private chat with the details
Update: Have see the login credentials?
It works, as written, for a single phone number.
It does not understand the Yealink syntax that allows multiple numbers per contact.
-
-
-
@bholler said in Help with FreePBX Directory Script:
xml file should contain extension and cell number
If you want this, then you need to use the "internal" built in address book.
https://FQDN/custom/cmab.php?cgroup=User%20Manager%20Group
You have to edit the "User Manager" fields to populate that one.
-
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?