Mitel 6755 User guide

Category
IP phones
Type
User guide

This manual is also suitable for

Product Application Info
Aastra XML Scripts for
Version 2.0.0
Doc. No.: PA-001009-00-00
Aastra Telecom will not accept liability for any damages and/or long distance charges, which result
from unauthorized and/or unlawful use.
While every effort has been made to ensure accuracy, Aastra Telecom will not be liable for
technical or editorial errors or omissions contained within this documentation. The information
contained in this documentation is subject to change without notice.
Copyright 2008 Aastra Telecom. www.aastra.com
All Rights Reserved.
Aastra Telecom April 2008 PA-001009-00-00
ii
TABLE OF CONTENTS
1
Introduction ................................................................................................................................ 1
1.1 Purpose ................................................................................................................................. 1
1.2 Feedback/Bug reporting/Support ........................................................................................... 1
1.3 Revision History ..................................................................................................................... 1
1.3.1 PA-001009-00-00 .......................................................................................................... 1
2 Installation .................................................................................................................................. 2
2.1 Compatibility .......................................................................................................................... 2
2.1.1 Trixbox CE server ......................................................................................................... 2
2.1.2 Aastra Phones .............................................................................................................. 2
2.2 Package installation ............................................................................................................... 2
2.3 Before you connect your first phone ...................................................................................... 3
2.3.1 Create aastra.cfg .......................................................................................................... 3
2.3.2 Check FreePBX/Asterisk configuration ......................................................................... 3
2.3.3 Configure Parking lot .................................................................................................... 3
2.3.4 Create an extension on Asterisk ................................................................................... 4
2.3.5 Create a meet-me conference ...................................................................................... 6
3 Auto-discovery .......................................................................................................................... 7
3.1 Principle ................................................................................................................................. 7
3.2 Implementation on the Trixbox CE server ............................................................................. 9
4 Self-Configuration ................................................................................................................... 10
4.1 Message flow ....................................................................................................................... 10
4.2 Auto-configuration policy ..................................................................................................... 11
4.3 Software architecture ........................................................................................................... 11
4.3.1 Login ........................................................................................................................... 12
4.3.2 Logout ......................................................................................................................... 12
4.4 Before you connect the first phone ...................................................................................... 13
4.5 Boot sequence example ...................................................................................................... 14
4.6 Phone template configuration .............................................................................................. 15
5 Asterisk applications .............................................................................................................. 18
5.1 DND ..................................................................................................................................... 18
5.2 Call Forward ........................................................................................................................ 19
5.3 Day/Night ............................................................................................................................. 21
5.4 Meet-me ............................................................................................................................... 23
PA-001009-00-00 Aastra Telecom April 2008
iii
5.5 Voice Mail ............................................................................................................................. 23
5.6 Directory ............................................................................................................................... 24
5.7 Speed Dial ............................................................................................................................ 25
5.8 SugarCRM ........................................................................................................................... 26
5.9 Parking ................................................................................................................................. 27
5.10 MP3 Player ...................................................................................................................... 28
5.11 Action uri registered ......................................................................................................... 29
5.12 Action uri poll ................................................................................................................... 30
5.13 Action uri incoming .......................................................................................................... 31
5.14 Action uri onhook ............................................................................................................. 31
6 Media applications ................................................................................................................... 32
6.1 US Area code lookup ........................................................................................................... 32
6.2 Ask Google ........................................................................................................................... 33
6.3 CNN News ........................................................................................................................... 34
6.4 ESPN News ......................................................................................................................... 35
6.5 Horoscope ............................................................................................................................ 36
6.6 Movies .................................................................................................................................. 37
6.7 Netflix ................................................................................................................................... 38
6.8 Stock .................................................................................................................................... 39
6.9 Today… ................................................................................................................................ 39
6.10 US Local Weather ............................................................................................................ 40
6.11 World Clock...................................................................................................................... 41
6.12 Yahtzee ............................................................................................................................ 42
6.13 Global menu .................................................................................................................... 43
7 Appendix A: Configuration files ............................................................................................. 44
7.1 server.conf ........................................................................................................................... 44
7.2 asterisk.conf ......................................................................................................................... 44
7.3 init.conf ................................................................................................................................. 45
7.4 timezone.conf ....................................................................................................................... 45
8 LAST PAGE OF THE DOCUMENT .......................................................................................... 46
Aastra Telecom April 2008 PA-001009-00-00
iv
PA-001009-00-00 Aastra Telecom April 2008
v
TABLE OF FIGURES
Figure 1: Parking lot configuration ...................................................................................................... 4
Figure 2: Extension configuration ....................................................................................................... 5
Figure 3: Conference configuration .................................................................................................... 6
Figure 4: Phone boot sequence ......................................................................................................... 8
Figure 5: Multicast DNS query ............................................................................................................ 9
Figure 6: Self-Configuration message flow ....................................................................................... 11
Figure 7: startup.php software architecture ...................................................................................... 12
Figure 8: logout.php software architecture ....................................................................................... 13
1 Introduction
1.1 Purpose
This document describes the installation and the use of the Aastra XML Scripts for Trixbox CE
provided as open source code.
1.2 Feedback/Bug reporting/Support
The Aastra XML scripts for Trixbox CE are not directly supported by Aastra so please. Standard
Aastra support will not answer your questions if you have issues with the scripts.
This package is only supported via the Trixbox CE forum at http://www.trixbox.org/forums/aastra-
endpoints.
1.3 Revision History
1.3.1 PA-001009-00-00
Initial documentation
aastra-xml-scripts version 2.0.0
PA-001009-00-00 Aastra Telecom April 2008
1
2 Installation
2.1 Compatibility
2.1.1 Trixbox CE server
The aastra-xml-scripts have been developed and tested for Trixbox CE 2.6, they may work with
Trixbox 2.2 and 2.4 but you will have to resolve manually some extra dependencies as some
packages may be missing in 2.2 and 2.4.
2.1.2 Aastra Phones
The aastra-xml-scripts have been developed and tested for the following firmware version of the
SIP phones:
1.4.2.3000 for Aastra 9112i/9133i/480i and 480iCT
2.2.0.166 for Aastra 51i/53i/55i/57i and 57iCT
As the aastra-ipphone version 2.2.0 is automatically installed with the aastra-xml-scripts package,
all the phones connected to the Trixbox server should be updated to the right firmware version if
you use the self-configuration mechanism.
2.2 Package installation
On your Trixbox CE console, logged as root type
yum install aastra-xml-scripts if it is a fresh install
or
yum update aastra-xml-scripts if you want to upgrade from version 1.0.0
Dependencies
The following package will also be installed if they are not already present
mDNSResponder-util
aastra-ipphone >= 2.2.0
mpg123
Note: php-gd should also be installed if you plan to use the graphical applications on the 55i
and 57i/57iCT.
Files installed or modified
php XML scripts at /var/www/html/aastra with user asterisk r/w rights
cache directory created at /var/cache/aastra with user asterisk r/w rights
setup-aastra-xml installed at /usr/local/sbin as an executable
demo directory for the MP3 Player application created at /var/cache/MP3 with user asterisk
r/w rights
/etc/asterisk/sip_notify.conf is modified to support the check-sync and aastra-xml event
types
/etc/asterisk/phpagi.conf is checked and updated with default password if needed
Aastra Telecom April 2008 PA-001009-00-00
2
Asterisk is reloaded
mDNSresponder service is restarted
2.3 Before you connect your first phone
2.3.1 Create aastra.cfg
After the package installation, it is needed to create the right aastra.cfg file in order to launch the
self-configuration process.
This is done by typing the following command on the console logged as root
[trixbox1.localdomain tmp]# setup-aastra-xml
Which results
--------------------------------------------------------------
Creating a default config file for Aastra phones
--------------------------------------------------------------
Creating /tftpboot/aastra.cfg...
Created /tftpboot/aastra.cfg using 192.168.0.115 for the proxy. If the
IP address of your Asterisk system changes run this script again and reboot.
Reboot your Aastra phones by disconnecting the power to the phone.
The aastra.cfg will use your Trixbox server IP address instead of 192.168.0.115 in this example.
The setup-aastra-xml command must be performed every time the server IP address
changes.
Note: Do not use the ‘setup-aastra’ provided by Trixbox CE as it would not create the right
aastra.cfg file. Later on, the setup-aastra script will be replaced by setup-aastra-xml in the
Trixbox CE image.
2.3.2 Check FreePBX/Asterisk configuration
In order to use all the Asterisk XML applications, the following modules must be configured for
FreePBX
Call Forward
Conferences
DND
Day Night Mode
Paging and Intercom
Parking Lot
This can be done using the ‘module admin’ menu of FreePBX.
2.3.3 Configure Parking lot
The automated profiles for the phone will configure the park key for each phone, so you have to
make sure that the parking module is enabled and configured.
This can be done using the ‘Parking Lot’ menu of FreePBX.
PA-001009-00-00 Aastra Telecom April 2008
3
Figure 1: Parking lot configuration
2.3.4 Create an extension on Asterisk
In this implementation of self-configuration, the user is identified using:
his extension number,
his voice mail password.
This means that you will be able to connect a phone for this user only if a voice mail box with a
password is created for this extension using FreePBX.
Aastra Telecom April 2008 PA-001009-00-00
4
Figure 2: Extension configuration
PA-001009-00-00 Aastra Telecom April 2008
5
2.3.5 Create a meet-me conference
In order to use the meet-me manager application, you need to create at least one meet-me
conference using FreePBX.
The conference options are not relevant for the XML application.
Figure 3: Conference configuration
Aastra Telecom April 2008 PA-001009-00-00
6
3 Auto-discovery
This chapter describes the auto-discovery mechanisms that have been introduced in the Aastra
SIP phones in firmware 1.4.1.
The purpose of these developments is to allow a non-configured phone (out of the box) to
"discover" its Configuration Server automatically and get its configuration from there.
The discovery mechanism selected by Aastra to go beyond DHCP option 66 which might not
commonly be available is multicastDNS (mDNS) also known as "Bonjour" in the Apple Computer
community.
3.1 Principle
The principle of the auto-discovery mechanism using mDNS service is that:
a mDNS client is implemented in the phone.
a mDNS responder is implemented on the network (usually on the server hosting the IP-
PBX).
At the first boot, the phone executes the following sequence:
Get an IP address
Try to get IP address from DHCP server
If DHCP fails, phone is going to skip auto-discovery.
Get Configuration server IP address
From DHCP using option 66
If no DHCP option 66, the phone broadcasts a mDNS query (the type of the service
requested is _aastra-cfg._tcp standing for Aastra Configuration)
The mDNS response contains the IP address of the TFTP server, currently only TFTP is
supported for the auto-discovery mechanism.
Select the right server
If there is more than one mDNS responder to the requested service on the network, the
phone displays the list of servers identified.
The user selects which one to use as a configuration server.
This IP address is saved to the phone and will be used from that point on. Phone won't try
another during startup auto-discovery until the IP address is removed from configuration
Note: If TFTP, FTP or HTTP configuration server is manually configured via TUI or WebUI,
the phone will skip auto-discovery during startup.
The following diagram shows the phone boot sequence with or without mDNS.
PA-001009-00-00 Aastra Telecom April 2008
7
Figure 4: Phone boot sequence
Aastra Telecom April 2008 PA-001009-00-00
8
Figure 5: Multicast DNS query
3.2 Implementation on the Trixbox CE server
The mDNS Responder is provided by the mDNSResponder-util package which is available from
the Trixbox yum repository.
This package is a dependency of the aastra-xml-scripts package so it should be automatically
installed when you install the package.
If not installed, you can install it using the following command (logged as root on the console)
yum install mDNSResponder-util
The mDNSResponder is configured as a Linux service running at init level 3.
Description of the mDNSResponder files installed on the Trixbox CE server
/usr/sbin/mDNSResponder mDNS Responder executable binary
/etc/rc.d/init.d/mDNSResponder mDNSResponder service file
/etc/services_mDNS mDNSResponder configuration file
The configuration file includes the configuration to answer to the mDNS query sent by the Aastra
SIP phones.
Note: the mDNS service is automatically started after the aastra-xml-scripts installation.
PA-001009-00-00 Aastra Telecom April 2008
9
4 Self-Configuration
This chapter describes the self-configuration mechanism provided with the aastra-xml-scripts
package which allows the automatic configuration of an Aastra SIP Phone after the first boot.
The self-configuration relies on the XML API capabilities of the Aastra SIP phones and more
specifically on:
action uri startup which is a way to configure the phone to call an XML application at the
end of the boot sequence.
AastraIPPhoneExecute XML object which allows an XML application to tell the phone to
perform an action such as a reboot.
For more information on the Aastra XML API, please refer to the XML API SDK available from the
Aastra web site www.aastratelecom.com.
4.1 Message flow
The following is a description of how this can be done using existing phone features.
1. The aastra.cfg file sets the startup action uri configuration parameter to point to the
configuration script and configuration download information.
2. Phone downloads the aastra.cfg file, ignores missing <MAC>.cfg file and continues boot
process.
3. Phone executes startup uri, running the configuration script. The MAC address of the
phone and the phone model are in the HTTP headers of the request.
4. The script uses XML to gather required configuration information and creates <MAC>.cfg
file on the TFTP server root directory. The <MAC>.cfg file must reset the startup action uri
to avoid the configuration script being called on subsequent boots.
5. The script reboots the phone via XML reboot command or via SIP check-sync message.
6. Phone reboots, directly downloads both aastra.cfg and newly created <MAC>.cfg file
The following diagram shows the message exchange between the phone and the server (TFTP
server and XML applications).
Aastra Telecom April 2008 PA-001009-00-00
10
Phone Server
Request for aastra.cfg
Phone reboots
Gets IP address
Gets
Configuration
Server
parameters
Request for <MAC>.cfg
aastra.cfg (configured with a startup URI)
No <MAC>.cfg
Startup URI
XML questions and answers
XML “Reset”
Script creates
<MAC>.cfg
Figure 6: Self-Configuration message flow
4.2 Auto-configuration policy
The auto-configuration policy which includes the flow of questions asked to the user and the script
to generate the <MAC>.cfg file is totally open with this mechanism.
Multiple options are available.
1. Extension is already provisioned in the IP-PBX database.
One way to implement this feature might be to have all the extensions already provisioned on
the switch side and the XML flow will be used to identify the user (extension number and
voicemail password) for instance). The script must then control if the extension is not already
assigned and create the <MAC>.cfg based on the extension(s) configuration.
Another way would be to display the list of available extensions and let the user select his
extension; of course password protection is needed to avoid any hacking of the platform.
2. Extension is not provisioned in the IP-PBX database
A second option is to have the script to provision the extension in the database. To do so, the
script can ask for user general parameters (name …) and automatically creates an extension in
the switch database and then creates the <MAC>.cfg, the extension number can be either
automatically assigned or the user can select it in a list of available extensions.
Option 1 has been implemented in the aastra-xml-scripts package.
4.3 Software architecture
Two XML scripts are provided to perform the hot desking features:
PA-001009-00-00 Aastra Telecom April 2008
11
/var/www/html/aastra/asterisk/startup.php for the login
/var/www/html/aastra/asterisk/logout.php for the logout.
4.3.1 Login
The login script is called at the end of the boot sequence. Once the user has entered his extension,
his voice mail password and his time zone, the script:
Checks the authentication parameters
Retrieve all the SIP parameters from the asterisk configuration
Creates the MAC.cfg file on the TFTP server
Updates the cache file with the user information
Asterisk
Database
startup.php
TFTPServer
Use r
Input
Cachefile
SIP parameters
Authentication
MAC.cfg Update
XM L
Figure 7: startup.php software architecture
The scripts also checks, using its cache file, that the user is not already registered on another
phone, if this is the case, the script updates the MAC.cfg of the other phone and sends a SIP notify
check-sync to make it reboot if the phone is registered.
Also the script can trigger an email for each hot desking event. This email address is configured in
/var/www/html/aastra/config/asterisk.conf. See chapter 7.2 for more details.
4.3.2 Logout
The logout script is called by the user. Once the user his voice mail password, the script:
Checks the authentication parameters
Creates an empty MAC.cfg file on the TFTP server
Updates the cache file with the user information
Aastra Telecom April 2008 PA-001009-00-00
12
Asterisk
Database
logout.php
TFTPServer
Use r
Input
Cachefile
Authentication
Empty
MAC.cfg
Update
XM L
Figure 8: logout.php software architecture
Also the script can trigger an email for each hot desking event. This email address is configured in
/var/www/html/aastra/config/asterisk.conf. See chapter 7.2 for more details.
4.4 Before you connect the first phone
Make sure that you have followed all the steps detailed in chapter 2.3.
Note: the self-configuration works only when the phones get their IP address from a DHCP
server.
PA-001009-00-00 Aastra Telecom April 2008
13
4.5 Boot sequence example
Phone boots
Gets an IP address
Automatically discovers the Trixbox server
Load aastra.cfg from the TFTP Server
User enters his extension
User enters his voicemail password
On certain phones, a single screen combines
extension and password.
Aastra Telecom April 2008 PA-001009-00-00
14
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52

Mitel 6755 User guide

Category
IP phones
Type
User guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI