Messinet Secure Services
wiki:AastraDirectory
Last modified 22 months ago Last modified on 08/01/11 23:38:16

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

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>