Author Topic: Aastra 6700i DHCP option 43  (Read 2396 times)

Offline sitchris

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Aastra 6700i DHCP option 43
« on: November 03, 2016, 05:56:46 PM »
I'm working in an office environment with 6731i handsets, a raw Asterisk server, and Windows DHCP Server 2012. The handsets are on their own VLAN, and up until now, each new handset had to be manually configured to be on the voice VLAN. I want that to happen automatically now.

I have configured the DHCP server to send option 43 to the 6730i handsets. I verified this using Wireshark. However, there seems to be a problem with how I'm formatting the option 43 data, and my test handset does not switch to the voice VLAN after I factory reset it. I made sure I was running a firmware reported to be capable of this; the handset is running firmware 3.3.1.4358.

Here is the Hex data the DHCP server is sending, along with my annotations:

Code: [Select]
08 10 41 61 73 74 72 61 20 54 65 6C 65 63 6F 6D 20 20 09 04 00 00 00 C8 03 01 00 02 0F 31 39 32 2E 31 36 38 2E 31 30 30 2E 32 35 31
^  ^  A  a  s  t  r  a     T  e  l  e  c  o  m        ^  ^           200^  ^     ^  ^  1  9  2  .  1  6  8  .  1  0  0  .  2  5  1
|  |                                                  |  |              |  |     |  |
└vendor specific sub-option 08                        └vendor specific sub-option 09
   |                                                     |              |  |     |  |
   └length of 16                                         └length of 4   |  |     |  |
                                                                        └vendor specific sub-option 03
                                                                           |     |  |
                                                                           └length of 1
                                                                                 |  |
                                                                                 └vendor specific sub-option 02
                                                                                    |
                                                                                    └length of 15

TL;DR Does anyone have a known good option 43 string of Hex that they can share with me? Wireshark output would be perfect. If I had that, I could compare mine and see what I'm doing wrong. Thanks!


Offline sitchris

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Aastra 6700i DHCP option 43
« Reply #1 on: November 03, 2016, 08:03:34 PM »
Nevermind. Found something that works.

Code: [Select]
2b 34 08 11 41 61 73 74 72 61 20 54 65 6c 65 63 6f 6d 20 20 00 03 01 01 02 16 74 66 74 70 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 30 2e 31 30 31 00 09 04 00 00 00 c8
43 52 8  17 A  a  s  t  r  a     T  e  l  e  c  o  m        0  3  1  1  2  22 t  f  t  p  :  /  /  1  9  2  .  1  6  8  .  1  0   .  1  0  1    9  4           200

 I realized what I was doing wrong when I tried to scrap option 43 and instead use option 132. When I added option 132,  the DHCP server was adding sub-option 132 to option 43.

I didn't realize MS DHCP server broke down sub-options for option 43, I thought I had to create the whole hex string myself. Instead, I created Predefined Options 02, 03, 08, and 09 for my custom Aastra 6731i Option class.


 

Sitemap 1 2 3 4 5 6 7 8 9 10