Hi,

I have a working solution(for me) to use option 43 with Avaya / Tenovis ipphone
I used ConsoleOne and calc to do the job.

Settings I want to use:

Vendor-specific information (code = 43)

* The unique identifier code for a Tenovis device
Code = 1
Length = 3
Data = 4 129 7 (permanently predefined identifier code!) (0x4 0x81 0x7)


* The IP address of the default gatekeeper
Code = 2
Length = 4
Data = for example: 192 1 2 110 (IP address) (0xc0 0x1 0x2 0x6e)


* The IP address of the FTP server
Code = 3
Length = 4
Data = for example: 192 1 2 105 (IP address) (0xc0 0x1 0x2 0x69)


* Name of the configuration file which is loaded during software updating via the FTP server
Code = 4
Length = for example: 10 (max 80)
Data = for example: config.txt (0x63 0x6f 0x6e 0x66 0x69 0x67 0x2e 0x74 0x78 0x74)

What you need is to figure out the byte stream for u config. I used windows calc to convert from decimal to hexadecimal e.g. Type 192 in dec mode click on hex and see it changing in to CO. Or use a simple free hex editor.
After you converted all ipaddresses to hex, build the hexadecimal bytestream:

- Start with the option 43 = 2B
- Next position will be the length of the whole string. Leave this for the end.
- Position 3 is the number that correspondence with the code number. We start with 1 = 01
- Position 4 is the length of the code string, in this case the The unique identifier code for a Tenovis device = 3 = 03
- the next 3 positions will be the data = 4 129 7 = 04 81 07

So now we've got the next string : 2B __ 01 03 04 81 07

Now the IP address of the default gatekeeper (192.1.2.110)

- position 8 will be code 2 = 02
- position 9 will be de length 4 = 04
- position 10 will be 192 = c0
- position 11 will be 1 = 01
- position 12 will be 2 = 02
- position 13 will be 110 = 6e

add this to the string: 2B __ 01 03 04 81 07 02 04 C0 01 02 6E

Continue with a ftp server and config file.

It will look like this:

2B __ 01 03 04 81 07 02 04 C0 01 02 6E 03 04 C0 01 02 69 04 0A 63 6f 6e 66 69 67 2e 74 78 74

Now count the total length of the string after the __. It will be 29 positions = 1D
Fill this in on the __:

2B 1D 01 03 04 81 07 02 04 C0 01 02 6E 03 04 C0 01 02 69 04 0A 63 6f 6e 66 69 67 2e 74 78 74

Bring down the dhcpsrvr.nlm

Go to your edir subnet object in consoleone open the properties, select others
Select DNIP: config options
Select the string and click Modify, and click on the . icon next to the string
A hex editor will open.
Enter your string at the end of the last position.
Save it all
Bring your dhcpsrvr.nlm up

Voila.


Greetings,

Wouter Oosterhoff
ZorgBalans