Aastra Directory
The Aastra Directory is a simple, PHP-based program which is designed to retrieve names and telephone numbers from an LDAP directory server and create a text file suitable for import by various Aastra Telecom devices. This allows the "Directory" on the Aastra Telecom device to maintain synchronization with the contacts in your LDAP directory server.
Features
- Simplicity
- Uses the inetOrgPerson and evolutionPerson LDAP schemas
- Retrieves and parses for display: sn, givenName, assistantPhone, homePhone, callbackPhone, carPhone, mobile, otherPhone, pager and telephoneNumber
Browse Source / Download / Git Clone
- Browse the Aastra Directory source
- Clone this repository: git://messinet.com/aastra-directory.git
git clone git://messinet.com/aastra-directory.git
Documentation
The aastra-directory.php script is to be called from a cron job as follows:
/usr/bin/php aastra-directory.php $ldap_bind_dn $ldap_password > $output_file_name
The $output_file_name should be placed in your Aastra TFTP, FTP or HTTP configuration directory. Either the aastra.cfg or the <MAC_ADDR>.cfg file should contain lines as follows:
directory disabled: 0 directory 1: <output_file_name>
