Mitel phones expect option 43 (vendor encapsulated options) to be delivered as
a string such as:
id:ipphone.mitel.com;sw_tftp=10.200.107.32;call_srv=10.200.107.32
The issue I am having is that I can find no way to define these options without
a sub-option. This leaves two bytes in front of the option that confuse the
phone. For example, the above string, which is 65 bytes long, has two bytes
pre-pended: 1 (for the sub-option) and 0x41 (65 byte payload). Here is my
attempt to configure this:
"option-def": [
{
"name": "mitel-options",
"code": 1,
"space": "vendor-encapsulated-options-space",
"type": "string",
"array": false,
"encapsulate": ""
}
],
"option-data": [
{
"name": "vendor-encapsulated-options",
"csv-format": false
},
{
"name": "mitel-options",
"space": "vendor-encapsulated-options-space",
"csv-format": true,
"data":
"id:ipphone.mitel.com;sw_tftp=10.200.107.32;call_srv=10.200.107.32"
}
],
How can I eliminate the sub-code?
Thanks!
Rob
Rob Sutherland
Senior Software Developer
[email protected]<mailto:[email protected]>
p: 613-280-2008 (Canada)
p: 973-848-8811 (US)
_______________________________________________
Kea-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/kea-users