We wanted an internal phone book, that updated quickly or in real-time and was searchable.
It looked like LDAP was the right method, but we couldn’t find a good easy method to make it happen, as maintaining either OpenLDAP or Active Directory records looked like a pain, since we already had all the data saved against the extensions in FreePBX.
We eventually created a basic LDAP server in Go that will serve such a directory, based on queries against the “users” table in the FreePBX DB.
It made our lives loads easier, so I’d like to share it with you:
Hope it helps someone out!