Aastra XML Script 2.3.0 for Elastix 2.5.0 2019


Aastra XML Script 2.3.0 for Elastix 2.5.0 2019

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

Before installing AASTRA XML Script you to need to add Extensions, Ring Group……
Login to GUI

=================
  1. Login to GUI 
  2. Create Extensions.
  3. Enable Feature Code: Intercom prefix *80 and Disable 411.
  4. Create Ring Group 600 and no answer extension.
  5. Add Day/Night Switch under Call Flow Toggle Control.
  6. Add Queues 200.
  7. Add Conference room 1000.
  8. Add Paging and Intercom Group 80.
  9. Enable Parking Lot 70.
  10. Enable access to FreePBX GUI Security > Advanced Setting > Enable direct access to FreePBX
  11. Enable audio code g722 and change order: Access Unembedded FreePBX > Setting > Asterisk SIP Setting > Enable g22  and move to the G722 on top. 
System Update
====================

Edit this file

vi /etc/yum.repos.d/CentOS-Base.repo


delete all lines and replace the code below.


# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#
[base]
name = CentOS- $ releasever - Base
baseurl = http://vault.centos.org/5.11/os/i386/
gpgcheck = 0
enabled = 1



Delete all other xxx.repo files



Login SSH and run yum update -y
Reboot



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

Please run setup-aastra-xml to generate aastra.cfg.
Please run /var/www/html/aastra/utilities/check_install to check installation.


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
line 248
# Enable Custom Device States
# Default Value: TRUE
USEDEVSTATE=TRUE

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

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









































All Passed





Comments

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Post a Comment

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