Avaya One-X communicator softphone LDAP directory
- A lot of politics
- Several teams (and external provider) needs to approve
- Security team will probably ask for a special setup
- Windows server team will not want to manage this
- I haven't found a user with the full correct details on the active directory.
Step 1) Install Debian on server
Select the graphical package for the server as it will be needed to run VirtualBox..
Once the installation is done, as root don't forget to run the normal updates:
apt-get upgrade
The system details are show below:
Linux myserver 2.6.32-5-686 #1 SMP Mon Feb 25 01:04:36 UTC 2013 i686 GNU/Linux
user@myserver:~$
Step 2) Install VirtualBox
Next go to the Virtualbox site - https://www.virtualbox.org/ - and download the latest version for Debian. In my case it was: virtualbox-4.2_4.2.12-84980~Debian~squeeze_i386.deb
apt-get upgrade
apt-get install dkms
apt-get install firmware-linux-nonfree
apt-get install linux-headers-$(uname -r)
apt-get install gcc
apt-get install build-essential module-assistant
apt-get install minicom
apt-get install ncurses-dev fakeroot bzip2
apt-get install build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check avahi-daemon
apt-get install gparted
apt-get install p7zip-full p7zip-rar
apt-get install gnome-desktop-environment
apt-get install remmina
apt-get install remmina-plugin-vnc
apt-get install tightvncserver
apt-get install openssh
apt-get update
apt-get upgrade
Once all is installed/updated, go to the command line again as root and install the VirtualBox downloaded package as follows:
The installation should work and you should be able to launch VirtualBox from your Menu panel.
Step 3) Install VirtualBox Guest - Debian
The installation process is the same as with the host server. The only difference is that I don't install a desktop environment as it s not needed and will make the images smaller.
Once the guest install is done, log in and remove the virtualbox-ose packages that comes with Debian. This will cause errors when installing the VirtualBox Linux Additions to the gust image. The steps I did were:
apt-get upgrade
dpkg -l | grep virtualbox-ose-guest
apt-get remove --purge virtualbox-ose-guest-x11
apt-get autoremove
dpkg -l | grep virtualbox-ose-guest
apt-get remove --purge virtualbox-ose-guest-utils
apt-get remove --purge virtualbox-ose-guest-dkms
With the OSE packages gone, now load the VBoxGuestAdditions.iso into the guest OS. The path to the file in Debian is /usr/share/virtualbox/VBoxGuestAdditions.iso. The below image shows this selection:
Final steps are to install a few applications to the guest needed and to mount the VboxGuestAddtions and run the installation script.
apt-get upgrade
apt-get install build-essential module-assistant
m-a prepare
mount /media/cdrom
sh /media/cdrom/VBoxLinuxAdditions.run
umount /media/cdrom
To end this, Debian by default saves the "virtual" MAC address of your server that will cause an error if you ever try to clone the image and start a new/parallel version. As the cloned version has a new MAC address but the server files still point to the old MAC address, the network services will not start. To work around this, edit the following files:
vi 75-persistent-net-generator.rules
Add the following lines:
ATTR{address}=="08:00:27:*", GOTO="persistent_net_generator_end"
Then
vi 70-persistent-net.rules
Delete entries if any
Well that is all, you should have a HOST server and a Guest server running at this point. In theory :)
Step 4) Install LDAP and phpldapadmin
The installation of these two packages is straight forward with the following commands:
apt-get install phpldapadmin
The installation will ask you for user and password details (take note of them!). That is all..
Step 5) Configure LDAP
Add the below lines to the ldap.conf file:
ldap_version 3
URI ldap://localhost:389
SIZELIMIT 0
TIMELIMIT 0
DEREF never
BASE dc=corp, dc=mycompany, dc=com
Replace the example configuration
vi /etc/phpldapadmin/config.php
Changed:
auto-detect it for you. */
$servers->setValue('server','base',array('dc=example,dc=com'));
to :
auto-detect it for you. */
$servers->setValue('server','base',array('dc=corp,dc=mycompany,dc=com'));
Changed:
At the stage, you will be able to http to the phpldapadmin server http://guest machine IP/phpldapadim and log in with the password entered during the ldap installation step.
Step 6) Add entries to LDAP
Once logged into phpLDAPAdmin, add some example data to it. In the below example I added cn=users, then a ou= sales with 3 users.
I assigned an extension and mobile phone to each of them.
Step 7) Change settings on Avaya One-X communicator and test
Finally, go to the One-X sofphone and enter one of the names you created. They will be appear and by clicking on the "handset" icon you can select which number to dial.