SIP settings for Mitel Phones

Business SIP Providers
Provider Plan Details Monthly Rate *
Vonage Business SIP Trunking
  • One provider & nationwide coverage
  • Easily integrated into your existing infrastructure
  • More uptime, flexibility and disaster recovery options
$25.00
Details

Introduction


These notes apply to the range of Mitel phones that support SIP, namely: 5220 and 5215 ('Dual Mode' versions), 5224, 5235, 5330 and 5340 IP Phones. The notes are based on V6 firmware.

All phones have the same basic setup menu structure and the following applies in general to all models.

Return to Mitel front page:

User Config:

  • User ID or Extension: <your user name>
  • SIP Auth User Name: <your user name>
  • Password: < your password >

Note that it is important to enter the user name in both user entry boxes. It is tempting to enter the extension number in the first box, but this is really for the user name as Asterisk will assign the extension number upon successful registration.

Dial Plan

  • Turn on Auto Dial if you want the phone to dial your keyed number after 'n' seconds of keypad inactivity.
  • Set Inter-digit timeout to the required inactivity period - the default/recommended is 4 seconds.

SIP Config


Based on V6 firmware - other versions may have different settings. The titles below refer to various sections in the phone setup

Advanced Features

Basic

  • Authenticate Method: Digest
  • Registry Duration: 7200 (also try 180 if using NAT for a more regular refresh)
  • Voice Mail Retrieve Address: *97 (for Asterisk-based systems)
  • Phone Listening Port: 5060
  • Long SIP-Contact (RFC3840): Disabled

User Configuration

Additional Servers

  • SIP Proxy Server: <SIP server hostname or IP address>
  • Port: 5060
  • SIP Registry Server: <SIP server hostname or IP address>
  • Port: 5060
  • Outbound Server : leave blank - see below
  • Voice Mail Server: <SIP server hostname or IP address>

You need to put your asterisk server's IP address in the "Voice Mail Server" field in order for the phone to flash when you have waiting messages.

Outbound server


On some firmware versions, entering an outbound server when the phone is using NAT STUN causes the phone to hang on boot (5220 with V6 firmware) and sometimes a factory reset is required to get back into the setup.

Emergency

  • Emergency Number: blank
  • Emergency Server IP: blank
  • Port: blank

Firewall

  • Bypass Firewall NAT: Off
  • Mode: Static
  • WAN IP Discovery URL: blank
  • WAN IP Address: blank


Network Config

If you wish to configure the set with a static IP address, you can do so here.

Media Config

  • Set your preferred CODEC order.
  • If you want to use RFC2833 compliant DTMF settings, change DTMF type to Outband and DTMF Payload Type to 101. The classic symptom if you forget to do this is that the hash/pound ('#') key doesn't start an immediate dial of your keyed number.

TFTP Auto Config

If you set up a TFTP server local to your phones, they can configure automatically. The Mitel phones first download the file sip<model>Generic.cfg (e.g.: sip5220Generic.cfg). Any settings assigned therein are written then to the phone. Anything not assigned by the file remain unchanged. Then the phone specific config file is downloaded sip<model>SXXXXXXXXXXXX.cfg (replace X's with MAC address of phone). Any settings assigned by the phone specific file overwrite (even those just written by the Generic file), and anything not assigned remains unchanged.

Some reports say that tftp behavior can be really awkward. You have to be sure tftp comms is enabled, but the tftp upload can itself disable it for the next iteration. Power cycling alone doesn't trigger a tftp refresh. It seems to require the use of the web portal to force a config upload, unless you don't mind waiting until midnight for it to auto load. Most of the tftp settings one sees only apply to tftp firmware updates, and not config file updates. I would not rely on this feature for serious commercial use unless my time had no value to me.

On firmware 6.XXX the phone looks for the following configuration files in order: MN_Generic.cfg, MN_{username}.cfg and MN_{MAC_ADDRESS}.cfg. Where {username} is the SIP username the phone is registered with and {MAC_ADDRESS} is the MAC address of the phone. The config files can be set to download at user specified polling times using TFTP or HTTP, both seem to work ok so far.

General Notes

Default Password

Username: admin
Password <modelnumber> (eg. 5340)

HTTP Configuration

1. Place your XML config files on an HTTP server
2. Use the web interface to set your Firmware and Configuration update location to HTTP.
3. Specify a web server for the phone to pull files from

On-Screen Display (OSD)

1. Press the "Superkey" (the blue button with a page and a telephone on it)
2. Browse through options on the OSD, if prompted for a password use the defaults listed above

XML Configuration Files


(Needs documenting)

Asterisk Configuration


Here is a sample entry for sip.conf:


[mitel5220]
type=friend
username=mitel5220
secret=1234
host=dynamic
canreinvite=no
qualify=no
context=local
dtmfmode=rfc2833
mailbox=200



Return to Mitel front page:

See also

Introduction


These notes apply to the range of Mitel phones that support SIP, namely: 5220 and 5215 ('Dual Mode' versions), 5224, 5235, 5330 and 5340 IP Phones. The notes are based on V6 firmware.

All phones have the same basic setup menu structure and the following applies in general to all models.

Return to Mitel front page:

User Config:

  • User ID or Extension: <your user name>
  • SIP Auth User Name: <your user name>
  • Password: < your password >

Note that it is important to enter the user name in both user entry boxes. It is tempting to enter the extension number in the first box, but this is really for the user name as Asterisk will assign the extension number upon successful registration.

Dial Plan

  • Turn on Auto Dial if you want the phone to dial your keyed number after 'n' seconds of keypad inactivity.
  • Set Inter-digit timeout to the required inactivity period - the default/recommended is 4 seconds.

SIP Config


Based on V6 firmware - other versions may have different settings. The titles below refer to various sections in the phone setup

Advanced Features

Basic

  • Authenticate Method: Digest
  • Registry Duration: 7200 (also try 180 if using NAT for a more regular refresh)
  • Voice Mail Retrieve Address: *97 (for Asterisk-based systems)
  • Phone Listening Port: 5060
  • Long SIP-Contact (RFC3840): Disabled

User Configuration

Additional Servers

  • SIP Proxy Server: <SIP server hostname or IP address>
  • Port: 5060
  • SIP Registry Server: <SIP server hostname or IP address>
  • Port: 5060
  • Outbound Server : leave blank - see below
  • Voice Mail Server: <SIP server hostname or IP address>

You need to put your asterisk server's IP address in the "Voice Mail Server" field in order for the phone to flash when you have waiting messages.

Outbound server


On some firmware versions, entering an outbound server when the phone is using NAT STUN causes the phone to hang on boot (5220 with V6 firmware) and sometimes a factory reset is required to get back into the setup.

Emergency

  • Emergency Number: blank
  • Emergency Server IP: blank
  • Port: blank

Firewall

  • Bypass Firewall NAT: Off
  • Mode: Static
  • WAN IP Discovery URL: blank
  • WAN IP Address: blank


Network Config

If you wish to configure the set with a static IP address, you can do so here.

Media Config

  • Set your preferred CODEC order.
  • If you want to use RFC2833 compliant DTMF settings, change DTMF type to Outband and DTMF Payload Type to 101. The classic symptom if you forget to do this is that the hash/pound ('#') key doesn't start an immediate dial of your keyed number.

TFTP Auto Config

If you set up a TFTP server local to your phones, they can configure automatically. The Mitel phones first download the file sip<model>Generic.cfg (e.g.: sip5220Generic.cfg). Any settings assigned therein are written then to the phone. Anything not assigned by the file remain unchanged. Then the phone specific config file is downloaded sip<model>SXXXXXXXXXXXX.cfg (replace X's with MAC address of phone). Any settings assigned by the phone specific file overwrite (even those just written by the Generic file), and anything not assigned remains unchanged.

Some reports say that tftp behavior can be really awkward. You have to be sure tftp comms is enabled, but the tftp upload can itself disable it for the next iteration. Power cycling alone doesn't trigger a tftp refresh. It seems to require the use of the web portal to force a config upload, unless you don't mind waiting until midnight for it to auto load. Most of the tftp settings one sees only apply to tftp firmware updates, and not config file updates. I would not rely on this feature for serious commercial use unless my time had no value to me.

On firmware 6.XXX the phone looks for the following configuration files in order: MN_Generic.cfg, MN_{username}.cfg and MN_{MAC_ADDRESS}.cfg. Where {username} is the SIP username the phone is registered with and {MAC_ADDRESS} is the MAC address of the phone. The config files can be set to download at user specified polling times using TFTP or HTTP, both seem to work ok so far.

General Notes

Default Password

Username: admin
Password <modelnumber> (eg. 5340)

HTTP Configuration

1. Place your XML config files on an HTTP server
2. Use the web interface to set your Firmware and Configuration update location to HTTP.
3. Specify a web server for the phone to pull files from

On-Screen Display (OSD)

1. Press the "Superkey" (the blue button with a page and a telephone on it)
2. Browse through options on the OSD, if prompted for a password use the defaults listed above

XML Configuration Files


(Needs documenting)

Asterisk Configuration


Here is a sample entry for sip.conf:


[mitel5220]
type=friend
username=mitel5220
secret=1234
host=dynamic
canreinvite=no
qualify=no
context=local
dtmfmode=rfc2833
mailbox=200



Return to Mitel front page:

See also

Created by: linker3000, Last modification: Thu 08 of Aug, 2013 (06:08 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+