Hi everyone,
Does anyone know where the external contacts added in the contact manager are saved? I’ve configured an XML script to extract the contacts, but I can only see the internal ones. I can’t figure out in which database they are saved.
I have resolved and completed the script to read the contact manager for both internal contacts using SQLite3 and external contacts relying on MySQL. To read the MySQL DB, I added a user with read and write access and adapted the script based on the responses obtained. Now, on Yealink IP phones, I can see all the contacts under the remote address book. However, I can’t get it to display on Sangoma IP phones. There might be an issue with the auto provisioning, but I’m not sure.
NB:
You need to remember to change the username and password of your PBX as in the example: $mysqli = new mysqli("localhost", "user", "password", "asterisk"); and modify the name of the group created in the external contacts section and its groupid (which can be found by looking at the MySQL tables), e.g.: // Use the groupid '2' for the "family" group.