Mitel 5000 and TNG

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Mitel 5000 and TNG

Postby Leon van Heerden » Fri Nov 01, 2013 3:44 pm

TNG has been updated to 1.1.1.12 to allow the Mitel 5000 Login code to be processed.

You wil need to the following information and files to be able to get this to work:
  • TNG 1.1.1.12
    To download the upgrade or install, refer to forum post: TNG Update 1.1.1.12

  • Plugin PMitel5000.dll - version 2013.11.04.2 at least.
    PMitel5000_2014_01_20_1.rar

    PMitel5000_2013_11_04_01-linux.zip


    The password is 'datatex'. Save the extracted dll/so file in the folder: C:\Program Files\Datatex\tng\plugins

  • The SMDR Password for the Mitel 5000 (In the programming under System -> Sockets -> SMDR Password.)

  • The Mitel 5000 must be configured to for Network SMDR and you will need to know the SMDr port. (Default is 4000)

  • The Mitel 5000 IP address

Configure TNG to connect to the Mitel 5000 IP and the port.
tng-mitel_5000-pabx_settings.jpg
In this example it is configured with no password.

Configure the Binary Login String with the following string if you have no password:
[6][0][0][0][84][0]

And the following string If your password is "Mitel1":
[C][0][0][0][84]Mitel1[0]

The easiest solution would be to take the amount of characters in your password and add 6.

For example if your password has 8 characters (password is 'password'), then it works as follows:
E.g. password = 8 characters + 6 standard HEX values.
Total=14 Hex code will be E.

Binary Login String if your password is "password":
[E][0][0][0][84]password[0]

The Values in square brackets are Hex values that are sent directly to the PBX. The Blue value above, is the total number of bytes that are going to be sent. If you don't know how to convert to Hex, the quick way is to count the number of characters in the password and add 6 to it.
If it is below or equal to 9, you use the number as is, if it is above 9, do the following steps:

How to convert Decimal value to Hex
  • Open Windows Calculator, select the view menu at the top and choose "Programmer".
  • You should see some option down the left side "DEC" and "HEX". Make sure "DEC" is selected.
  • Enter that number you got above.
  • Now choose "HEX" on the left options.
  • The HEX value will now be displayed and you can update your first value in the Binary Login Field.

Date Format:
The Date format can be swapped, by creating a file in the TNG folder called
Code: Select all
mmdd.dateformat
or
ddmm.dateformat
, if you want to swap the day and month around.
If the date format is incorrect, the current PC date will be used.

(Fixed Plugin 2014-01-20)
Please note that version 2013.11.12.02 had an incorrect check that was not properly tested and caused the plugin not to process data in TNG, but it could process the text files.
You do not have the required permissions to view the files attached to this post.
----
Leon van Heerden
http://www.datatex.co.za
Leon van Heerden
 
Posts: 332
Joined: Fri Oct 29, 2010 11:21 am
Location: Cape Town

Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest