Install

Requrements

If you want to use phone that support Unistim protocol, you need to fit several requirements:

  • Have phone one of several supported models: i2002, i2004
  • Have DHCP server that support dhcp options

You can easly get phones on ebay, i2002 and i2004 widely available here. You can find top models for just $50. It is because companied remove Nortel equipment, and phones usually not usable without Nortel CS1000.

Manual setup

  • Power on the phone
  • Wait for message “Nortel Networks”
  • While the “Nortel Networks” splash is showing, quickly press each the four softkeys just below the LCD screen, in sequence from left to right. (you can do it real easily with your four fingers as if on a piano – one-two-three-four). This is known as ‘swiping’ a phone.
  • If you see “Locating server”, you weren’t fast enough. Power off (or reboot the phone – see below) and try again
  • EAP Enable? (0-N,1-Y):0
  • DHCP? (0-N,1-Y):1
  • Cached IP? (0-N,1-Y):1
  • DHCP:0-Full,1-Partial:1
  • S1 IP: xxx.xxx.xxx.xxx (Asterisk’s Server IP Address)
  • S1 PORT: 5000
  • S1 ACTION: 1
  • S1 RETRY COUNT: 10
  • S2 IP: xxx.xxx.xxx.xxx (Asterisk’s Server IP Address)
  • S2 PORT: 5000
  • S2 ACTION: 1
  • S2 RETRY COUNT: 10
  • Cfg XAS? (0-No,1-Yes):0
  • VOICE VLAN? (0-N,1-Y):0
  • PC PORT? (0-OFF,1-ON):1
  • DATA VLAN? (0-N,1-Y):0
  • DUPLEX (0-AUTO,1-FULL):1
  • SPEED (0-10Mb,1-100Mb):1
  • GARP Ignore? (0-N,1-Y):1

Configure DHCP server

If you’re planning to deploy many i2004 phones, you can use this trick and set your phones to “DHCP (Full)” when installing them:
– Prerequisite

  • ISC DHCP daemon (tested with 3.0.1-12)

-Steps

  • Edit /etc/dhcpd.conf
  • Add the following line near the top of the file

option nortel_ipt code 128 = string;

  • Add the following line within the subnet for your phones

option nortel_ipt “Nortel-i2004-A,iii.iii.iii.iii:ppppp,aaa,rrr;iii.iii.iii.iii:ppppp,aaa,rrr.”

Note:

  • iii.iii.iii.iii = IP address of call server
  • ppppp = Signaling port of call server
  • aaa = Action, currently must be 1
  • rrr = Retry count, any value. 10 is fine
  • The repetition of this whole section is for a second server, and is optional.

Take care to enter all the punctuation marks correctly. There’s a colon (:) between the IP and the Port, commas (,) between the other fields, a period (.) at the end, and, to keep DHCP happy, a semi-colon (;) after the closing quote.

For example, to connect to call server at 172.16.1.1:5000, use:
option nortel_ipt “Nortel-i2004-A,172.16.1.1:5000,1,10;172.16.1.1:5000,1,10.”;

  • Restart dhcpd
  • Configure phone to use Full DHCP and reboot the phone.

(I presume that “partial DHCP” would allow you to use a locally-picked address for the phone and a hard-coded address for the server, which might be good for a roaming phone, but I have not tried this).

Note: If you’re using an older ISC DHCP such as that found on e.g., OpenBSD 4.0, omit the option type line (ending in String) and use this line in the subnet section:
option option-128 “Nortel-i2004-A,172.16.1.1:5000,1,10.”;

Configure Asterisk

Hopefully chan_unistim have no any additional dependencies and so exist in almost all asterisk distributions exists. After asterisk installed you need to configure you phone in unistim.conf configuration file.

Main setting used by phone – its MAC address, you can find it on bottom of phone or in DHCP server logs.

After all configured phone should be configured itself. You not needed made any configuration on phone itself like it is done on SIP phones.

Configure FreePBX

If you’re planning to deploy many i2004 phones, you can use this trick and set your phones to “DHCP (Full)” when installing them:
– Prerequisite

  • ISC DHCP daemon (tested with 3.0.1-12)

-Steps

  • Edit /etc/dhcpd.conf
  • Add the following line near the top of the file

option nortel_ipt code 128 = string;

  • Add the following line within the subnet for your phones

option nortel_ipt “Nortel-i2004-A,iii.iii.iii.iii:ppppp,aaa,rrr;iii.iii.iii.iii:ppppp,aaa,rrr.”

Note:

  • iii.iii.iii.iii = IP address of call server
  • ppppp = Signaling port of call server
  • aaa = Action, currently must be 1
  • rrr = Retry count, any value. 10 is fine
  • The repetition of this whole section is for a second server, and is optional.

Take care to enter all the punctuation marks correctly. There’s a colon (:) between the IP and the Port, commas (,) between the other fields, a period (.) at the end, and, to keep DHCP happy, a semi-colon (;) after the closing quote.

For example, to connect to call server at 172.16.1.1:5000, use:
option nortel_ipt “Nortel-i2004-A,172.16.1.1:5000,1,10;172.16.1.1:5000,1,10.”;

  • Restart dhcpd
  • Configure phone to use Full DHCP and reboot the phone.

(I presume that “partial DHCP” would allow you to use a locally-picked address for the phone and a hard-coded address for the server, which might be good for a roaming phone, but I have not tried this).

Note: If you’re using an older ISC DHCP such as that found on e.g., OpenBSD 4.0, omit the option type line (ending in String) and use this line in the subnet section:
option option-128 “Nortel-i2004-A,172.16.1.1:5000,1,10.”;

  • John Munoz

    Thanks for the great article. I have been able to setup my UNISTIM devices as extension on my freepbx system but i’m having trouble figuring out how to enable voicemail on them. Also having trouble figuring out how to set them up as destinations in inbound routes, IVR’s, ring groups, etc. All of my SIP devices can do this easily.. just not sure how to get the same fuctions on my UNISTIM devices.

    • To setup this phones as destination you need to create extensions with type of “custom” and specify unistim dial string in device.

    • Jim Chisholm

      http://www.emetrotel.com/
      We sell the E-metrotel UCX server that will do all of this and you can use any of your Nortel Unistim phones as well as digital phones with full support. As well as any SIP device all with the same license.
      We have sold about 30 of these systems and have had rock solid performance and support by E-Metrotel UCX, some installs with 50 or more extensions all Nortel IP phones networked to multiple sites with BCM.

      • E-metrotel UCX system violates the GPL license of asterisk and I am not recommend anyone to use it.

        • Jim Chisholm

          Prove it!

          • It is enough easy, I have chan_ucx.so and this binary share much of string constants and function names with chan_unistim. By information from Digium E-metrotel have no commercial license agreement signed with Digium.

          • Jim Chisholm

            Simply not true. Please take a moment to go to http://www.emetrotel.com/ where you can find the information that proves you are mistaken.
            thank you
            Jim

          • I am familiar with this site, it tell nothing about legal part of e-metrotel products.

            If you have any evidence that bellow is not true, please provide it:
            1. E-metrotel solution based on asterisk
            2. E-metrotel have not signed with Digium dual-license agreement
            3. Asterisk have GPLv2 license and E-metrotel developed own binary module that use asterisk sources (by include asterisk headers files)
            4. Because of statements of GPL license E-metrotel MUST supply sources of chan_ucx by request of users, that have supplied with binary.

            Because of statements above – E-metrotel violate law and gplv2 license. If you want me to prove that E-metrotel stole chan_unistim code, I’ll publish chan_ucx.so to public and prepare blog post with this module analysis.

          • Jim Chisholm
          • This page is a copy of license information by Digium and do not describe what license E-metrotel uses. Is it GPL license used for asterisk in E-metrotel products?

            Quote:
            Asterisk is distributed under the GNU General Public License version 2 and is also available under alternative licenses negotiated directly with Digium, Inc.