[Kea-users] FW: Vendor Encapsulated Options (option 43)
Sutherland, Rob
Robert.B.Sutherland at windstream.com
Thu Nov 2 19:26:13 UTC 2017
I seem to have resolved my issue with help from Duane Wylie. What worked for me was this:
"client-classes": [
{
"name": "mitel",
"test": "substring(option[60].hex,0,17) == 'ipphone.mitel.com'",
"option-def": [
{
"name": "vendor-encapsulated-options",
"code": 43,
"type": "string"
}
],
"option-data": [
{
"name": "vendor-encapsulated-options",
"data": "id:ipphone.mitel.com;sw_tftp=10.151.75.34;call_srv=10.151.75.32"
}
]
},
Rob
From: Kea-users [mailto:kea-users-bounces at lists.isc.org] On Behalf Of Sutherland, Rob
Sent: Thursday, November 02, 2017 12:33 PM
To: kea-users at lists.isc.org
Subject: [External Source] [Kea-users] Vendor Encapsulated Options (option 43)
I'm taking another stab at evaluating Kea (1.3.0) and am seeing an issue that I saw earlier with respect to Vendor Encapsulated Options (option 43).
With the old ISC DHCP, I can define something like this:
option MitelVendorOptions code 43 = string;
option MitelVendorOptions "id:ipphone.mitel.com;sw_tftp=10.150.5.32;call_srv=10.150.5.32,10.150.95.34";
The packets to the phone with then have the form 0x2b (43) <some_length> <the string>
With Kea, I have yet to find a way to replicate this sicne I HAVE to specify a code. The option then becomes:
0x2b (43) <some_length> <option code I must specify> <another length> <the string>
This extra is causing some phone models to behave incorrectly.
Q: How can I achieve this?
Here's a snippet of my configuration:
"option-def": [
{
"name": "mitel-options",
"space": "vendor-encapsulated-options-space",
"code": 1,
"type": "string",
"space": "mitel"
}
...
"option-data": [
{
"name": "mitel-options",
"space": "mitel",
"data": "id:ipphone.mitel.com;sw_tftp=10.151.75.34;call_srv=10.151.75.32"
},
{
"name": "vendor-encapsulated-options"
}
]
Thanks,
Rob
Rob Sutherland
Senior Software Developer - Silhouette R&D | Windstream
Robert.B.Sutherland at windstream.com<mailto:Robert.B.Sutherland at windstream.com> | broadviewnet.com
o: 973.848.8811
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20171102/1d22a6b5/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20171102/1d22a6b5/attachment.txt>
More information about the Kea-users
mailing list