Aastra XML scripts on Asterisk 1.8

Aastra phoneThis is mostly an updated version of the Aastra XML scripts on Asterisk 1.6 procedure.  Taking into account the newer version of XML scripts and the various changes.

The detailed install and user guide created by Aastra is located here.  That guide was used as the basis of this simplified procedure.

 

 

 

Versions used in this procedure:

aastra-xml-scripts-2.3.1-1-beta1.rpm
aastra-ipphone-3.2.0.1011-1.noarch.rpm
Asterisk v1.8
FreePBX v2.9
CentOS v5

This procedure should work equally well using Asterisk v1.6 and v1.4 but I have not tried.

AASTRA SIP PHONES

The aastra xml scripts work with the following aastra phones:

9112i/9133i/480i and 480iCT
6730i and 6731i or better
6751i/6752i/6755i/6757i and 6757iCT or better
9143i/9480i and 9480iCT or better

NOTE: 9112i/9133i/480i and 480iCT are not compatible with v2.3.1 of the XML scripts.  v2.3.0 are the last scripts compatible with these phones.  If using those phones use the 2.3.0 version of the scripts instead. 

It is assumed you have already installed Asterisk and FreePBX using a procedure such as the one on this site.  You should also have the following FreePBX modules installed otherwise you may get some errors and strange behaviour.

  • Call Forward
  • Conferences
  • Do Not Disturb 
  • Day Night Mode (now called Call Flow)
  • Paging and Intercom
  • Parking Lot

Install Aastra XML v2.3.1 scripts:

First make sure mDNSResponder packages are not installed which may be the case if you had previous XML scripts installed.
rpm -q mDNSResponder-util
if it replys with mDNS responder version then remove
service mDNSResponder stop
rpm -e mDNSResponder-util mDNSResponder

We should also check for and remove previous xml-scripts
rpm -q aastra-xml-scripts
rpm -e aastra-xml-scripts-x.x.x-x.rpm

Replacing the 'x's with the values provide from the previous command

Make sure you have the required dependencies installed.
yum -y install avahi php-gd php-ldap

Now perform the installation procedure.  Click the link and make sure this is the latest version and if not copy/paste newer link.
cd /usr/src
rpm -ivh http://yum.freepbxdistro.org/pbx/1.8.x.x/i386/RPMS/aastra/firmware/aastra-ipphone-3.2.0.1011-1.noarch.rpm

rpm -ivh http://yum.freepbxdistro.org/pbx/1.8.x.x/i386/RPMS/aastra/xml-scripts/aastra-xml-scripts-2.3.1-1-beta1.rpm

Now create the aastra.cfg file in /tftpboot in order to launch the self-configuration process.
setup-aastra-xml

You also need to add the extensions in FreePBX before you self configure the phones.  The Aastra XML self configure procedure is where you assign the existing extension number to the phone which is why the extension must exist in FreePBX first.  Note that the password the self configuration screen on the phone is asking for is the voicemail password, not the extension password.  So you need to have voicemail enabled on the extension for this configuration step.

Also, you need to decide which mode you will be using.  Either 'extension' or 'deviceanduser'.  The default is 'extension'.  You should consult the Aastra XML documentation for those details.

POST-INSTALLATION CHECK
After installation you can check the platform configuration using the 'check_install' application included with tha aastra XML scripts.  Any Failure needs to be corrected.  Warnings are ok.
/var/www/html/aastra/utilities/check_install

One of the failures you are likely to see is that you must enable pollmailboxes.
nano +176 /etc/asterisk/voicemail.conf
pollmaillboxes=yes

I also got a failure testing for aastra-xml-scripts version but that seems to be a problem with the version returned by the beta script and not an actual problem that needs to be dealt with.

reboot the server in order to restart the aastra_daemon1 and aastra_daemon2 services.
reboot

Sections: