https://eric-poon.blogspot.com/2019/09/elastix-25-install-aastra-xml.html


Aastra XML Script 2.3.0 for Elastix 2.5.0 2015

Tested work for me

Install AASTRA XML Script for Elastix PBX 2.5



* Install Elastix 2.4, with default mysql password "eLaStIx.asteriskuser.2007"

Before install AASTRA XML Script you to need add Extensions, Ring Group……
Login to GUI
  1. Login to GUI 
  2. Create Extension
  3. Enable Feature Code: Intercom prefix *80 and Disable 411
  4. Create Ring Group
  5. Add Day/Night Switch
  6. Create Queues ACD
  7. Create Conference room
  8. Add Paging and Intercom Group 80
  9. Enable Parking Lot
  10. Enable Paging and Intercom prefix 80 under 
  11. Enable access to FreePBX GUI Security > Advanceed Setting > Enable direct access to FreePBX
  12. Change Codecs order: Login to FreePBX > Setting > SIP Setting > add G722 and make it on top

Update Elastix to 2.5
======================
Login SSH and run yum update -y
Reboot




Fix yum update error
==================


edit this file
/etc/yum.repos.d/commercial-addons.repo




[iperfex]
name=IPERFEX RPMs repository
baseurl=http://packages.iperfex.com/centos/$releasever/$basearch/
gpgkey=http://packages.iperfex.com/RPM-GPG-KEY-iperfex-repository
enabled=0
gpgcheck=1








Install Aaster XML Script
=====================
Login SSH 
cd /tmp
chmod +x install-aastra-xml-EL.x
./install-aastra-xml-EL.x
reboot


Login SSH again run Aastra XML Setup Tool
===============
setup-aastra-xml






Aastra Phone Setup Tool (XML scripts)
=====================================



Additional Languages Support
============================

Do you want to install additional languages on your phones?

[0] English only
[1] Multi-Language Support
[q] Quit

Install additional languages?: [0]


Tone Set
========

Select the country tone set to use.

[0] US/Canada
[1] Europe (generic tones)
[2] UK
[3] France
[4] Germany
[5] Italy
[6] Mexico
[7] Brazil
[8] Australia
[q] Quit

Select Tone Set: [0]


Default phone Timezone
======================

Select the default timezone for the phones. Page 1/4

[ 0] US-Eastern        [16] MX-Cancun         [32] AU-Lord howe
[ 1] US-Central        [17] MX-Merida         [33] AU-Tasmania
[ 2] US-Mountain       [18] MX-Monterrey      [34] AU-Melbourne
[ 3] US-Pacific        [19] MX-Mazatlan       [35] AU-Sydney
[ 4] US-Alaska         [20] MX-Chihuahua      [36] AU-Broken hill
[ 5] US-Aleutian       [21] MX-Hermosillo     [37] AU-Brisbane
[ 6] US-Hawaii         [22] MX-Tijuana        [38] AU-Lindeman
[ 7] CA-Newfoundland   [23] AD-Andorra        [39] AU-Adelaide
[ 8] CA-Atlantic       [24] AE-Dubai          [40] AU-Darwin
[ 9] CA-Eastern        [25] AG-Antigua        [41] AU-Perth
[10] CA-Saskatchewan   [26] AI-Anguilla       [42] AW-Aruba
[11] CA-Central        [27] AL-Tirane         [43] AZ-Baku
[12] CA-Mountain       [28] AN-Curacao        [44] BA-Sarajevo
[13] CA-Pacific        [29] AR-Buenos aires   [45] BB-Barbados
[14] CA-Yukon          [30] AS-Pago pago      [46] BE-Brussels
[15] MX-Mexico city    [31] AT-Vienna         [47] BG-Sofia
 [q] Quit                                      [n] Next Page

Select Timezone: [0]


User Timezone selection
=======================

Do you want the user to select the timezone during the login process?

[y] Yes
[n] No
[q] Quit

Enter y or n: [n]


Time format
===========

Select the time format to be displayed on the phone.

[0] 12 hours (AM/PM)
[1] 24 hours
[q] Quit

Select Time format: [0]


Date format
===========

Select the Date format to be displayed on the phone.

[0]  WWW MMM DD (WWW is the day of the week)
[1]  DD-MMM-YY
[2]  YYYY-MM-DD
[3]  DD/MM/YYYY
[4]  DD/MM/YY
[5]  DD-MM-YY
[6]  MM/DD/YY
[7]  MMM DD
[8]  DD MMM YYYY
[9]  WWW DD MMM
[10] DD MMM
[11] DD.MM.YYYY
[q] Quit

Select Date format: [0]

Created /tftpboot/aastra.cfg.
   - using 192.168.1.1 for the proxy/registrar IP address,
   - using 70 for the parking lot extension,
   - not adding any extra language,
   - using US tone set,
   - using US-Eastern (EST) as default phone timezone,
   - using 12h (AM/PM) as time format,
   - using (WWW MMM DD) as date format.

If the IP address of your Asterisk system changes, or if you want
to change localization settings, run this script again and reboot.
Reboot your Aastra phones by disconnecting the power to the phone.



Run XML check_install
===============
/var/www/html/aastra/utilities/check_install




Patch for Aastra XML script
=====================

Login WinSCP as root and modify /ect/amportal.conf
Find and set  USEDEVSTATE to true

# Enable Custom Device States
# Default Value: TRUE
USEDEVSTATE=TRUE

Modify etc/asterisk/voicemail.conf
Add under [general]
================
[general]
#include vm_general.inc
#include vm_email.inc
Pollmailboxes=yes
USEDEVSTATE=TRUE

Modify /var/www/html/aastra/config/asterisk.conf
Add Admin and user password password
==================
# Admin password for self-configuration, must be a number. Used in 'extensions' mode
pw_admin=8888
# User password for self-configuration, must be a number. Used when user has no voicemail in 'extensions' mode.
pw_user=9999
# Request password for Logout in "extensions" mode (optional). Default is enabled (1), 0 for disabled
logout_pw_enabled=0
# Auto-logout enabled or disabled in "extensions" mode (optional). Default is enabled (1), 0 for disabled
# aastra-daemon2 must be restarted if you change this parameter
autologout_enabled=1
# Auto-logout idle screen message enabled or disabled in "extensions" mode (optional). Default is enabled (1), 0 for disabled
autologout_message=1


Parking Fix
Modify /var/www/html/aastra/include/AastraAsterisk.php line 162
=================
# Asterisk Version
$AA_ASTERISK_VERSION=Aastra_get_version_Asterisk();
to
$AA_ASTERISK_VERSION=’1.6′;

7. Fix USEDEVSTATE set to True 
===========================
Modify /var/www/html/aastra/include/AastraAsterisk.php line 167
$AA_FREEPBX_USEDEVSTATE=true;






Run check_install again
==================
/var/www/html/aastra/utilities/check_install

Aastra XML scripts 2.3.0-1 Installation Check
=============================================

----------------------- Package installation -----------------------
Package php-gd  ........................................................ Passed
Package php-ldap  ....................................................  Passed
Package avahi  ..........................................................  Passed
No Package mDNSResponder  .................................  Passed
No Package mDNSResponder-util  ..........................  Passed
Phone firmware package (2.6.0)  ..............................  Passed
Package aastra-xml-scripts  ......................................  Passed
Cache Directory (/var/cache/aastra/)  .......................  Passed
TFTP Directory (/tftpboot)  ......................................  Passed
/tftpboot/aastra.cfg  ...................................................  Passed
php-agi connection  ...................................................  Passed
freePBX database connection  ..................................  Passed
------------------ Asterisk/freePBX Configuration ------------------
Asterisk version (1.6)  ..............................................  Passed
Asterisk location set to /etc/asterisk/  .......................  Passed
Asterisk spooler set to /var/spool/asterisk/  ..............  Passed
Voicemail configuration  ..........................................  Passed
USEDEVSTATE set to True  ...................................  Passed
Wideband Codec (g722) configuration  ...................  Passed
freePBX mode set to extensions  .............................  Passed
2 extension(s) configured  .......................................  Passed
1 meet-me room(s) configured  ...............................  Passed
Parking extension configured (70)  .........................  Passed
Intercom prefix configured (*80)  ...........................  Passed
1 Day/Night indexe(s) configured  ..........................  Passed
1 ACD queue(s) configured  ....................................  Passed
----------------- Aastra XML scripts Configuration -----------------
Debug mode not activated  .......................................  Passed
Trace mode not activated  ........................................  Passed
Language not forced  ...............................................  Passed
Asterisk SIP proxy forced to AA_PROXY_SERVER  ..............  Passed
Asterisk SIP registrar forced to AA_REGISTRAR_SERVER  ......  Passed
Phone Signature check is enabled  ..........................  Passed
Self-configuration admin password set to 8888  ...... Passed
Self-configuration user password forced to 9999  .... Passed
Logout password check is enabled  .........................  Passed
Auto-Logout feature is enabled  ..............................  Passed
Auto-Logout idle screen message is enabled  ........... Passed
DND pauses all ACD queues disabled  ......................Passed
Speed dial application configured  ...........................  Passed
Outgoing state display application configured  ........  Passed
Outgoing external lookup application not configured  .......  Passed
Date/Time format (US)  ............................................. Passed
User asked for timezone (no)  ...................................  Passed
No hidden directory extension  .................................  Passed
Local dial plan  ..........................................................  Passed
     Country code: 1
     Long distance prefix: 1
     International prefix: 011
     No outbound prefix
     No local prefix
     Local extension length not set

All Passed



Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass