How to install Aastra XML scripts 2.2.1 + patch 3 on Elastix
Perform the installation procedure
Login SSH console as root
cd /tmp
wget http://65.205.71.13/2.2.1/install-aastra-xml-EL.x.gz
gunzip install-aastra-xml-EL.x.gz
chmod +x install-aastra-xml-EL.x
./install-aastra-xml-EL.x
A server reboot is now needed.
reboot
Login SSH as root create the aastra.cfg file in /tftpboot in order to launch the self-configuration process.
setup-aastra-xml
Install patch 3
cd /tmp
wget http://65.205.71.13/2.2.1/aastra-xml-scripts-2.2.1-patch-3.run
chmod +x aastra-xml-scripts-2.2.1-patch-3.run
./aastra-xml-scripts-2.2.1-patch-3.run
Fix Aastre script
Modify "/etc/asterisk/manager.conf" only with Asterisk 1.6
Add 'originate' as a read/write to the [admin] entry which is the manager user used by freePBX and the Aastra XML scripts, the file should look like this:
1.voicemail.conf
=============
[general]
#include vm_general.inc
#include vm_email.inc
pollmailboxes=yes
USEDEVSTATE=true
2. amportal.conf
===============
etc/amportal.conf
USEDEVSTATE = ture
3. Add admin password for Phone login
=====================
/var/www/html/aastra/config/asterisk.conf
# Authentication method (optional) custom numeric password (voice mail password used by default)
auth=1234
Fix to patch 3 for Asterisk 1.6
This does not apply to Trixbox CE v2.8.0.2, 2.8.0.3 and versions of Asterisk before approximately 1.6.0.11. This only applies to changes added in patch 3. This fixes 2 problems. The first fix corrects a problem with CallerID not showing up in the visual parking lot. The second fix corrects a problem with the Parking lot splash screen not showing up when a call is first parked.
/var/www/html/aastra/include/AastraAsterisk.php
function Aastra_get_parked_calls_Asterisk()
Change
"$parameter=2;"
to
"$parameter=1"
function Aastra_check_park_Asterisk($user,$number)
Change
"$param_channel=2;"
"$param_timeout=7;"
to
"$param_channel=1;"
"$param_timeout=6;"
Done
Before install AASTRA XML Script you to need add Extenion, Ring Group......
Login to GUI
Create Extension
Create Ring Group
Create Day / Nigh Mode
Create Inbound Route
Enable Parking Lot
Add Paging and Intercom Group
Enable Paging and Intercom prefix under Feature Code Enable Intercom prefix *80
Add Conference Room
Add ACD Queue